CVE-2017-17434

NameCVE-2017-17434
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1218-1, DSA-4068-1
NVD severityhigh (attack range: remote)
Debian Bugs883665

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
rsync (PTS)jessie (security), jessie3.1.1-3+deb8u1fixed
stretch (security), stretch3.1.2-1+deb9u1fixed
buster, sid3.1.2-2.2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
rsyncsource(unstable)3.1.2-2.1high883665
rsyncsourcejessie3.1.1-3+deb8u1highDSA-4068-1
rsyncsourcestretch3.1.2-1+deb9u1highDSA-4068-1
rsyncsourcewheezy3.0.9-4+deb7u1highDLA-1218-1

Notes

https://git.samba.org/?p=rsync.git;a=commit;h=5509597decdbd7b91994210f700329d8a35e70a1
https://git.samba.org/?p=rsync.git;a=commit;h=70aeb5fddd1b2f8e143276f8d5a085db16c593b9

Search for package or bug name: Reporting problems