CVE-2017-17434
publishedrsync: daemon does not check for fnamecmp filenames allowing for access restriction bypass
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Alpine Linux | edge | rsync | Fixed | 3.1.2-r7 | Package fix record |
| Debian | jessie | rsync | Advisory build | 3.1.1-3+deb8u1 | DSA-4068-1 |
| SUSE / openSUSE | SLE-11-SP4 | rsynci586 | Advisory build | 3.0.4-2.53.3.1 | SUSE-SU-2018:0117-1 |
| Ubuntu | trusty | rsync | Advisory build | 3.1.0-2ubuntu0.3 | USN-3506-1 |
| Alpine Linux | v3.12 | rsync | Fixed | 3.1.2-r7 | Package fix record |
| Alpine Linux | v3.13 | rsync | Fixed | 3.1.2-r7 | Package fix record |
| Alpine Linux | v3.14 | rsync | Fixed | 3.1.2-r7 | Package fix record |
Show 26 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.15 | rsync | Fixed | 3.1.2-r7 | Package fix record |
| Alpine Linux | v3.16 | rsync | Fixed | 3.1.2-r7 | Package fix record |
| Alpine Linux | v3.17 | rsync | Fixed | 3.1.2-r7 | Package fix record |
| Alpine Linux | v3.18 | rsync | Fixed | 3.1.2-r7 | Package fix record |
| Alpine Linux | v3.19 | rsync | Fixed | 3.1.2-r7 | Package fix record |
| Alpine Linux | v3.20 | rsync | Fixed | 3.1.2-r7 | Package fix record |
| Alpine Linux | v3.21 | rsync | Fixed | 3.1.2-r7 | Package fix record |
| Alpine Linux | v3.22 | rsync | Fixed | 3.1.2-r7 | Package fix record |
| Alpine Linux | v3.23 | rsync | Fixed | 3.1.2-r7 | Package fix record |
| Alpine Linux | v3.24 | rsync | Fixed | 3.1.2-r7 | Package fix record |
| Alpine Linux | v3.7 | rsync | Fixed | 3.1.2-r7 | Package fix record |
| Debian | stretch | rsync | Advisory build | 3.1.2-1+deb9u1 | DSA-4068-1 |
| Debian | wheezy | rsync | Advisory build | 3.0.9-4+deb7u1 | DLA-1218-1 |
| SUSE / openSUSE | SLE-11-SP4 | rsyncia64 | Advisory build | 3.0.4-2.53.3.1 | SUSE-SU-2018:0117-1 |
| SUSE / openSUSE | SLE-11-SP4 | rsyncppc64 | Advisory build | 3.0.4-2.53.3.1 | SUSE-SU-2018:0117-1 |
| SUSE / openSUSE | SLE-11-SP4 | rsyncs390x | Advisory build | 3.0.4-2.53.3.1 | SUSE-SU-2018:0117-1 |
| SUSE / openSUSE | SLE-11-SP4 | rsyncx86_64 | Advisory build | 3.0.4-2.53.3.1 | SUSE-SU-2018:0117-1 |
| SUSE / openSUSE | SLE-12-SP2 | rsyncaarch64 | Advisory build | 3.1.0-13.7.1 | SUSE-SU-2018:0118-1 |
| SUSE / openSUSE | SLE-12-SP2 | rsyncppc64le | Advisory build | 3.1.0-13.7.1 | SUSE-SU-2018:0118-1 |
| SUSE / openSUSE | SLE-12-SP2 | rsyncs390x | Advisory build | 3.1.0-13.7.1 | SUSE-SU-2018:0118-1 |
| SUSE / openSUSE | SLE-12-SP2 | rsyncx86_64 | Advisory build | 3.1.0-13.7.1 | SUSE-SU-2018:0118-1 |
| SUSE / openSUSE | SLE-12-SP3 | rsyncaarch64 | Advisory build | 3.1.0-13.7.1 | SUSE-SU-2018:0118-1 |
| SUSE / openSUSE | SLE-12-SP3 | rsyncppc64le | Advisory build | 3.1.0-13.7.1 | SUSE-SU-2018:0118-1 |
| SUSE / openSUSE | SLE-12-SP3 | rsyncs390x | Advisory build | 3.1.0-13.7.1 | SUSE-SU-2018:0118-1 |
| SUSE / openSUSE | SLE-12-SP3 | rsyncx86_64 | Advisory build | 3.1.0-13.7.1 | SUSE-SU-2018:0118-1 |
| Ubuntu | xenial | rsync | Advisory build | 3.1.1-3ubuntu1.1 | USN-3506-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
5- http://security.cucumberlinux.com/security/details.php?id=170
- https://git.samba.org/?p=rsync.git%3Ba=commit%3Bh=5509597decdbd7b91994210f700329d8a35e70a1
- https://git.samba.org/?p=rsync.git%3Ba=commit%3Bh=70aeb5fddd1b2f8e143276f8d5a085db16c593b9
- [debian-lts-announce] 20171222 [SECURITY] [DLA 1218-1] rsync security update https://lists.debian.org/debian-lts-announce/2017/12/msg00020.html
- DSA-4068 https://www.debian.org/security/2017/dsa-4068
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a31e483b791def3f50d30043e7a4f7534840e150450e58a421c09f5d9a8d5663
- Ingested
- 23 Sep 2026, 07:42:19 UTC
- Source record
- Official CVE record