CVE-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 recv_files function in receiver.c) and also d...
CriticalCVSS 9.8
EPSS 3.3%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/rsync(Debian:12) | < 3.1.2-2.1 | 3.1.2-2.1 |
| debian/rsync(Debian:13) | < 3.1.2-2.1 | 3.1.2-2.1 |
| debian/rsync(Debian:14) | < 3.1.2-2.1 | 3.1.2-2.1 |
| Samba rsync | <= 3.1.2 | No fix listed |
| debian linux | = 8.0 | No fix listed |
| debian linux | = 9.0 | No fix listed |
| alpine/rsync(Alpine:v3.12) | < 3.1.2-r7 | 3.1.2-r7 |
| alpine/rsync(Alpine:v3.13) | < 3.1.2-r7 | 3.1.2-r7 |
| alpine/rsync(Alpine:v3.14) | < 3.1.2-r7 | 3.1.2-r7 |
| alpine/rsync(Alpine:v3.15) | < 3.1.2-r7 | 3.1.2-r7 |
| alpine/rsync(Alpine:v3.16) | < 3.1.2-r7 | 3.1.2-r7 |
| alpine/rsync(Alpine:v3.17) | < 3.1.2-r7 | 3.1.2-r7 |
| alpine/rsync(Alpine:v3.18) | < 3.1.2-r7 | 3.1.2-r7 |
| alpine/rsync(Alpine:v3.19) | < 3.1.2-r7 | 3.1.2-r7 |
| alpine/rsync(Alpine:v3.20) | < 3.1.2-r7 | 3.1.2-r7 |
| alpine/rsync(Alpine:v3.21) | < 3.1.2-r7 | 3.1.2-r7 |
| alpine/rsync(Alpine:v3.22) | < 3.1.2-r7 | 3.1.2-r7 |
| alpine/rsync(Alpine:v3.23) | < 3.1.2-r7 | 3.1.2-r7 |
| alpine/rsync(Alpine:v3.24) | < 3.1.2-r7 | 3.1.2-r7 |
| alpine/rsync(Alpine:v3.7) | < 3.1.2-r7 | 3.1.2-r7 |
References
- Debian Security Tracker CVE-2017-17434 vendor-advisory
- security.cucumberlinux.com third-party-advisory
- git.samba.org
- git.samba.org
- [debian-lts-announce] 20171222 [SECURITY] [DLA 1218-1] rsync security update mailing-list
- DSA-4068 third-party-advisory vendor-advisory
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking