CVE-2017-17434
The daemon in rsync 3.1.2, and 3.1.3-development before 2017-12-03, does not check for fnamecmp...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
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.
- Record
CVE-2017-17434- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2017-17434- Updated
- 2026-11-02
EUVDEUVD-2017-8598 No score
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.
- Record
EUVD-2017-8598- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-mqj4-x9gm-m5r5
9.8
The daemon in rsync 3.1.2, and 3.1.3-development before 2017-12-03, does not check for fnamecmp...
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.
- Record
GHSA-mqj4-x9gm-m5r5- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVALPINE-CVE-2017-17434
9.8
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.
- Record
ALPINE-CVE-2017-17434- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVBELL-CVE-2017-17434
9.8
CVE-2017-17434 does not affect BellSoft software
- Record
BELL-CVE-2017-17434- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 9 moreShow less
OSV
9.8
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.
- Record
CVE-2017-17434- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-17434
9.8
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.
- Record
DEBIAN-CVE-2017-17434- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-17434
9.8
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.
- Record
UBUNTU-CVE-2017-17434- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVCLSA-2026-1776769741 No score
rsync: Fix of 3 CVEs
- CVE-2017-16548: fix heap overread in receive_xattr by enforcing trailing NUL on received xattr names
- CVE-2017-17434: sanitize xname in read_ndx_and_attrs and check daemon filter against fnamecmp in recv_files
- CVE-2018-5764: prevent client from resetting protect_args during the second parse_arguments pass on the daemon
- Record
CLSA-2026-1776769741- Updated
- 2026-11-02
OSVCLSA-2026-1776791634 No score
rsync: Fix of 3 CVEs
- CVE-2017-16548: fix heap overread in receive_xattr by enforcing trailing NUL on received xattr names
- CVE-2017-17434: sanitize xname in read_ndx_and_attrs and check daemon filter against fnamecmp in recv_files
- CVE-2018-5764: prevent client from resetting protect_args during the second parse_arguments pass on the daemon
- Record
CLSA-2026-1776791634- Updated
- 2026-11-02
OSVMGASA-2017-0452 No score
Updated rsync package fixes security vulnerabilities
The recv_files function in receiver.c in the daemon in rsync 3.1.2, and 3.1.3-development before 2017-12-03, proceeds with certain file metadata updates before checking for a filename in the daemon_filter_list data structure, which allows remote attackers to bypass intended access restrictions. (CVE-2017-17433)
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. (CVE-2017-17434)
- Record
MGASA-2017-0452- Updated
- 2026-11-02
OSVSUSE-SU-2018:0117-1 No score
Security update for rsync
This update for rsync fixes the following issues:
Security issues fixed:
- CVE-2017-17434: The daemon in rsync did not check for fnamecmp filenames in the daemon_filter_list data structure (in the recv_files function in receiver.c) and also did 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 allowed remote attackers to bypass intended access restrictions' (bsc#1071460).
- CVE-2017-17433: The recv_files function in receiver.c in the daemon in rsync, proceeded with certain file metadata updates before checking for a filename in the daemon_filter_list data structure, which allowed remote attackers to bypass intended access restrictions (bsc#1071459).
- CVE-2017-16548: The receive_xattr function in xattrs.c in rsync did not check for a trailing '\0' character in an xattr name, which allowed remote attackers to cause a denial of service (heap-based buffer over-read and application crash) or possibly have unspecified other impact by sending crafted data to the daemon (bsc#1066644).
- Record
SUSE-SU-2018:0117-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:0118-1 No score
Security update for rsync
This update for rsync fixes several issues.
These security issues were fixed:
- CVE-2017-17434: The daemon in rsync did not check for fnamecmp filenames in the daemon_filter_list data structure (in the recv_files function in receiver.c) and also did 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 allowed remote attackers to bypass intended access restrictions' (bsc#1071460).
- CVE-2017-17433: The recv_files function in receiver.c in the daemon in rsync, proceeded with certain file metadata updates before checking for a filename in the daemon_filter_list data structure, which allowed remote attackers to bypass intended access restrictions (bsc#1071459).
- CVE-2017-16548: The receive_xattr function in xattrs.c in rsync did not check for a trailing '\0' character in an xattr name, which allowed remote attackers to cause a denial of service (heap-based buffer over-read and application crash) or possibly have unspecified other impact by sending crafted data to the daemon (bsc#1066644).
This non-security issue was fixed:
- Stop file upload after errors like a full disk (bsc#1062063)
- Ensure -X flag works even when setting owner/group (bsc#1028842)
- Record
SUSE-SU-2018:0118-1- Updated
- 2026-11-02
OSVUSN-3506-1 No score
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)
- Record
USN-3506-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
rsyncAlpine:v3.12 |
before 3.1.2-r7 | 3.1.2-r7 |
rsyncAlpine:v3.13 |
before 3.1.2-r7 | 3.1.2-r7 |
rsyncAlpine:v3.14 |
before 3.1.2-r7 | 3.1.2-r7 |
rsyncAlpine:v3.15 |
before 3.1.2-r7 | 3.1.2-r7 |
rsyncAlpine:v3.16 |
before 3.1.2-r7 | 3.1.2-r7 |
rsyncAlpine:v3.17 |
before 3.1.2-r7 | 3.1.2-r7 |
rsyncAlpine:v3.18 |
before 3.1.2-r7 | 3.1.2-r7 |
rsyncAlpine:v3.19 |
before 3.1.2-r7 | 3.1.2-r7 |
rsyncAlpine:v3.20 |
before 3.1.2-r7 | 3.1.2-r7 |
rsyncAlpine:v3.21 |
before 3.1.2-r7 | 3.1.2-r7 |
Show 27 moreShow less
| Package | Affected | Fixed |
|---|---|---|
rsyncAlpine:v3.22 |
before 3.1.2-r7 | 3.1.2-r7 |
rsyncAlpine:v3.23 |
before 3.1.2-r7 | 3.1.2-r7 |
rsyncAlpine:v3.24 |
before 3.1.2-r7 | 3.1.2-r7 |
rsyncAlpine:v3.7 |
before 3.1.2-r7 | 3.1.2-r7 |
rsyncTuxCare:OracleLinux:6 From an advisory covering 3 CVEs |
before 3.0.6-12.el6.tuxcare.els7 | 3.0.6-12.el6.tuxcare.els7 |
rsyncTuxCare:CentOS:6 From an advisory covering 3 CVEs |
before 3.0.6-12.el6.tuxcare.els7 | 3.0.6-12.el6.tuxcare.els7 |
rsyncDebian:12 |
before 3.1.2-2.1 | 3.1.2-2.1 |
rsyncDebian:13 |
before 3.1.2-2.1 | 3.1.2-2.1 |
rsyncDebian:14 |
before 3.1.2-2.1 | 3.1.2-2.1 |
rsyncDebian:7 From an advisory covering 3 CVEs |
before 3.0.9-4+deb7u1, plus listed versions 3.0.9-4 |
3.0.9-4+deb7u1 |
rsyncDebian:8 From an advisory covering 3 CVEs |
before 3.1.1-3+deb8u1, plus listed versions 3.1.1-3 |
3.1.1-3+deb8u1 |
rsyncDebian:9 From an advisory covering 3 CVEs |
before 3.1.2-1+deb9u1, plus listed versions 3.1.2-1 |
3.1.2-1+deb9u1 |
rsyncMageia:5 From an advisory covering 2 CVEs |
before 3.1.1-5.2.mga5 | 3.1.1-5.2.mga5 |
rsyncMageia:6 From an advisory covering 2 CVEs |
before 3.1.2-1.1.mga6 | 3.1.2-1.1.mga6 |
rsyncSUSE:Linux Enterprise Server 11 SP4 From an advisory covering 3 CVEs |
before 3.0.4-2.53.3.1 | 3.0.4-2.53.3.1 |
rsyncSUSE:Linux Enterprise Server for SAP Applications 11 SP4 From an advisory covering 3 CVEs |
before 3.0.4-2.53.3.1 | 3.0.4-2.53.3.1 |
rsyncSUSE:Linux Enterprise Desktop 12 SP2 From an advisory covering 3 CVEs |
before 3.1.0-13.7.1 | 3.1.0-13.7.1 |
rsyncSUSE:Linux Enterprise Desktop 12 SP3 From an advisory covering 3 CVEs |
before 3.1.0-13.7.1 | 3.1.0-13.7.1 |
rsyncSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 From an advisory covering 3 CVEs |
before 3.1.0-13.7.1 | 3.1.0-13.7.1 |
rsyncSUSE:Linux Enterprise Server 12 SP2 From an advisory covering 3 CVEs |
before 3.1.0-13.7.1 | 3.1.0-13.7.1 |
rsyncSUSE:Linux Enterprise Server for SAP Applications 12 SP2 From an advisory covering 3 CVEs |
before 3.1.0-13.7.1 | 3.1.0-13.7.1 |
rsyncSUSE:Linux Enterprise Server 12 SP3 From an advisory covering 3 CVEs |
before 3.1.0-13.7.1 | 3.1.0-13.7.1 |
rsyncSUSE:Linux Enterprise Server for SAP Applications 12 SP3 From an advisory covering 3 CVEs |
before 3.1.0-13.7.1 | 3.1.0-13.7.1 |
rsyncUbuntu:14.04:LTS |
before 3.1.0-2ubuntu0.3, plus listed versions 3.0.9-4ubuntu13.1.0-23.1.0-2ubuntu0.13.1.0-2ubuntu0.2 |
3.1.0-2ubuntu0.3 |
rsyncUbuntu:16.04:LTS |
before 3.1.1-3ubuntu1.1, plus listed versions 3.1.1-33.1.1-3ubuntu1 |
3.1.1-3ubuntu1.1 |
rsyncUbuntu:14.04:LTS From an advisory covering 2 CVEs |
before 3.1.0-2ubuntu0.3, plus listed versions 3.0.9-4ubuntu13.1.0-23.1.0-2ubuntu0.13.1.0-2ubuntu0.2 |
3.1.0-2ubuntu0.3 |
rsyncUbuntu:16.04:LTS From an advisory covering 2 CVEs |
before 3.1.1-3ubuntu1.1, plus listed versions 3.1.1-33.1.1-3ubuntu1 |
3.1.1-3ubuntu1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-17434 is a critical vulnerability (CVSS 9.8) in Samba Rsync, published December 5, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.27%, the 88th percentile. Fixed in rsync 3.1.2-r7.
References
git.samba.org?p=rsync.git%3Ba=commit%3Bh=70aeb5fddd1b2f8e143276f8d5a085db16c593b9
security.cucumberlinux.com/security/details.php?id=170
debian.org/security/2017/dsa-4068
lists.debian.org/debian-lts-announce/2017/12/msg00020.html
git.samba.org?p=rsync.git%3Ba=commit%3Bh=5509597decdbd7b91994210f700329d8a35e70a1
nvd.nist.gov/vuln/detail/CVE-2017-17434
Show 26 moreShow less
git.samba.org?p=rsync.git;a=commit;h=5509597decdbd7b91994210f700329d8a35e70a1
git.samba.org?p=rsync.git;a=commit;h=70aeb5fddd1b2f8e143276f8d5a085db16c593b9
github.com/advisories/GHSA-mqj4-x9gm-m5r5
security.alpinelinux.org/vuln/CVE-2017-17434
docs.bell-sw.com/security/cves/CVE-2017-17434
errata.tuxcare.com/els_os/oraclelinux6els/CLSA-2026-1776769741.html
errata.tuxcare.com/els_os/centos6els/CLSA-2026-1776791634.html
security-tracker.debian.org/tracker/CVE-2017-17434
advisories.mageia.org/MGASA-2017-0452.html
bugs.mageia.org/show_bug.cgi?id=22161
usn.ubuntu.com/usn/usn-3506-1
suse.com/support/update/announcement/2018/suse-su-20180117-1
bugzilla.suse.com/1066644
bugzilla.suse.com/1071459
bugzilla.suse.com/1071460
suse.com/security/cve/CVE-2017-16548
suse.com/security/cve/CVE-2017-17433
suse.com/security/cve/CVE-2017-17434
suse.com/support/update/announcement/2018/suse-su-20180118-1
bugzilla.suse.com/1028842
bugzilla.suse.com/1062063
ubuntu.com/security/CVE-2017-17434
ubuntu.com/security/notices/USN-3506-1
ubuntu.com/security/notices/USN-3506-2
cve.org/CVERecord?id=CVE-2017-17434
ubuntu.com/security/CVE-2017-17433