Skip to content

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

ProductAffected versionsFixed 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