CVE-2017-17434
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2017-17434
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2017-17434.html
Vendor advisory: arch — https://security.archlinux.org/ASA-201801-21
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| arch | fixed | 3.1.3pre1-1 | |
| sles | affected | | |
| debian | 8.0 | affected | |
| debian | 9.0 | affected | |
| debian | bookworm | fixed | 3.1.2-2.1 |
| debian | bullseye | fixed | 3.1.2-2.1 |
| debian | forky | fixed | 3.1.2-2.1 |
| debian | sid | fixed | 3.1.2-2.1 |
| debian | trixie | fixed | 3.1.2-2.1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| samba | rsync | {"endIncluding":"3.1.2"} | |
References
- https://security.archlinux.org/ASA-201801-21
- 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
- https://lists.debian.org/debian-lts-announce/2017/12/msg00020.html
- https://www.debian.org/security/2017/dsa-4068
- https://www.suse.com/security/cve/CVE-2017-17434.html
- https://security-tracker.debian.org/tracker/CVE-2017-17434
Verify integrity in audit chain (admin only). AS-IS.