CVE-2017-17434
published 2017-12-06CVE-2017-17434: The daemon in rsync 3.1.2, and 3.1.3-development before 2017-12-03, does not check for fnamecmp filenames in the daemon_filter_list data structure (in the…
PriorityP352critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EPSS
3.36%
87.3th percentile
The daemon in rsync 3.1.2, and 3.1.3-development before 2017-12-03, does not check for fnamecmp filenames in the daemon_filter_list data structure (in the recv_files function in receiver.c) and also does not apply the sanitize_paths protection mechanism to pathnames found in "xname follows" strings (in the read_ndx_and_attrs function in rsync.c), which allows remote attackers to bypass intended access restrictions.
Affected
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | rsync | < rsync 3.1.2-2.1 (bookworm) | rsync 3.1.2-2.1 (bookworm) |
| samba | rsync | <= 3.1.2 | — |
| samba | rsync | >= 0 < 3.1.2-2.1 | 3.1.2-2.1 |
| samba | rsync | >= 0 < 3.1.2-2.1 | 3.1.2-2.1 |
| samba | rsync | >= 0 < 3.1.2-2.1 | 3.1.2-2.1 |
| samba | rsync | >= 0 < 3.1.2-2.1 | 3.1.2-2.1 |
| samba | rsync | >= 0 < 3.1.0-2ubuntu0.3 | 3.1.0-2ubuntu0.3 |
| samba | rsync | >= 0 < 3.1.1-3ubuntu1.1 | 3.1.1-3ubuntu1.1 |
CVSS provenance
nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_redhat9.8CRITICAL
vendor_ubuntu3.7LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
rsync vulnerabilities
vendor_ubuntu·2017-12-07·CVSS 3.7
CVE-2017-17433 [LOW] rsync vulnerabilities
Title: rsync vulnerabilities
Summary: Several security issues were fixed in rsync.
USN-3506-1 fixed two vulnerabilities in rsync. This update provides
the corresponding update for Ubuntu 12.04 ESM.
Original advisory details:
It was discovered that rsync proceeds with certain file metadata updates
before checking for a filename. An attacker could use this to bypass access
restrictions. (CVE-2017-17433)
It was discovered that rsync does not check for fnamecmp filenames and also
does not apply the sanitize_paths protection mechanism to pathnames. An attacker
could use this to bypass access restrictions. (CVE-2017-17434)
Instructions: In general, a standard system update will make all the necessary changes.
Ubuntu
rsync vulnerabilities
vendor_ubuntu·2017-12-07·CVSS 3.7
CVE-2017-17433 [LOW] rsync vulnerabilities
Title: rsync vulnerabilities
Summary: Several security issues were fixed in rsync.
It was discovered that rsync proceeds with certain file metadata updates
before checking for a filename. An attacker could use this to bypass access
restrictions. (CVE-2017-17433)
It was discovered that rsync does not check for fnamecmp filenames and also
does not apply the sanitize_paths protection mechanism to pathnames. An attacker
could use this to bypass access restrictions. (CVE-2017-17434)
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
rsync: daemon does not check for fnamecmp filenames allowing for access restriction bypass
vendor_redhat·2017-12-04·CVSS 9.8
CVE-2017-17434 [CRITICAL] CWE-287 rsync: daemon does not check for fnamecmp filenames allowing for access restriction bypass
rsync: daemon does not check for fnamecmp filenames allowing for access restriction bypass
The daemon in rsync 3.1.2, and 3.1.3-development before 2017-12-03, does not check for fnamecmp filenames in the daemon_filter_list data structure (in the recv_files function in receiver.c) and also does not apply the sanitize_paths protection mechanism to pathnames found in "xname follows" strings (in the read_ndx_and_attrs function in rsync.c), which allows remote attackers to bypass intended access restrictions.
Statement: Red Hat Product Security has rated this issue as having Moderate security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classific
Debian
CVE-2017-17434: rsync - The daemon in rsync 3.1.2, and 3.1.3-development before 2017-12-03, does not che...
vendor_debian·2017·CVSS 9.8
CVE-2017-17434 [CRITICAL] CVE-2017-17434: rsync - The daemon in rsync 3.1.2, and 3.1.3-development before 2017-12-03, does not che...
The daemon in rsync 3.1.2, and 3.1.3-development before 2017-12-03, does not check for fnamecmp filenames in the daemon_filter_list data structure (in the recv_files function in receiver.c) and also does not apply the sanitize_paths protection mechanism to pathnames found in "xname follows" strings (in the read_ndx_and_attrs function in rsync.c), which allows remote attackers to bypass intended access restrictions.
Scope: local
bookworm: resolved (fixed in 3.1.2-2.1)
bullseye: resolved (fixed in 3.1.2-2.1)
forky: resolved (fixed in 3.1.2-2.1)
sid: resolved (fixed in 3.1.2-2.1)
trixie: resolved (fixed in 3.1.2-2.1)
GHSA
GHSA-mqj4-x9gm-m5r5: The daemon in rsync 3
ghsa_unreviewed·2022-05-13
CVE-2017-17434 [CRITICAL] GHSA-mqj4-x9gm-m5r5: The daemon in rsync 3
The daemon in rsync 3.1.2, and 3.1.3-development before 2017-12-03, does not check for fnamecmp filenames in the daemon_filter_list data structure (in the recv_files function in receiver.c) and also does not apply the sanitize_paths protection mechanism to pathnames found in "xname follows" strings (in the read_ndx_and_attrs function in rsync.c), which allows remote attackers to bypass intended access restrictions.
OSV
rsync vulnerabilities
osv·2017-12-07·CVSS 3.7
CVE-2017-17433 [LOW] rsync vulnerabilities
rsync vulnerabilities
It was discovered that rsync proceeds with certain file metadata updates
before checking for a filename. An attacker could use this to bypass access
restrictions. (CVE-2017-17433)
It was discovered that rsync does not check for fnamecmp filenames and also
does not apply the sanitize_paths protection mechanism to pathnames. An attacker
could use this to bypass access restrictions. (CVE-2017-17434)
OSV
CVE-2017-17434: The daemon in rsync 3
osv·2017-12-06·CVSS 9.8
CVE-2017-17434 [CRITICAL] CVE-2017-17434: The daemon in rsync 3
The daemon in rsync 3.1.2, and 3.1.3-development before 2017-12-03, does not check for fnamecmp filenames in the daemon_filter_list data structure (in the recv_files function in receiver.c) and also does not apply the sanitize_paths protection mechanism to pathnames found in "xname follows" strings (in the read_ndx_and_attrs function in rsync.c), which allows remote attackers to bypass intended access restrictions.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-17434 rsync: daemon does not check for fnamecmp filenames allowing for access restriction bypass
bugzilla·2017-12-06·CVSS 9.8
CVE-2017-17434 [CRITICAL] CVE-2017-17434 rsync: daemon does not check for fnamecmp filenames allowing for access restriction bypass
CVE-2017-17434 rsync: daemon does not check for fnamecmp filenames allowing for access restriction bypass
The daemon in rsync 3.1.2, and 3.1.3-development before 2017-11-03, does not check for fnamecmp filenames in the daemon_filter_list data structure (in the recv_files function in receiver.c) and also does not apply the sanitize_paths protection mechanism to pathnames found in "xname follows" strings (in the read_ndx_and_attrs function in rsync.c), which allows remote attackers to bypass intended access restrictions.
Upstream patches:
https://git.samba.org/?p=rsync.git;a=commit;h=5509597decdbd7b91994210f700329d8a35e70a1
https://git.samba.org/?p=rsync.git;a=commit;h=70aeb5fddd1b2f8e143276f8d5a085db16c593b9
Discussion:
Created rsync tracking bugs for this issue:
Affects: fedora-all [
Bugzilla
CVE-2017-15994 CVE-2017-16548 CVE-2017-17433 CVE-2017-17434 rsync: various flaws [fedora-all]
bugzilla·2017-11-09·CVSS 9.8
CVE-2017-15994 [CRITICAL] CVE-2017-15994 CVE-2017-16548 CVE-2017-17433 CVE-2017-17434 rsync: various flaws [fedora-all]
CVE-2017-15994 CVE-2017-16548 CVE-2017-17433 CVE-2017-17434 rsync: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple su
http://security.cucumberlinux.com/security/details.php?id=170https://git.samba.org/?p=rsync.git%3Ba=commit%3Bh=5509597decdbd7b91994210f700329d8a35e70a1https://git.samba.org/?p=rsync.git%3Ba=commit%3Bh=70aeb5fddd1b2f8e143276f8d5a085db16c593b9https://lists.debian.org/debian-lts-announce/2017/12/msg00020.htmlhttps://www.debian.org/security/2017/dsa-4068http://security.cucumberlinux.com/security/details.php?id=170https://git.samba.org/?p=rsync.git%3Ba=commit%3Bh=5509597decdbd7b91994210f700329d8a35e70a1https://git.samba.org/?p=rsync.git%3Ba=commit%3Bh=70aeb5fddd1b2f8e143276f8d5a085db16c593b9https://lists.debian.org/debian-lts-announce/2017/12/msg00020.htmlhttps://www.debian.org/security/2017/dsa-4068
2017-12-06
Published