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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1218-1, DSA-4068-1
Debian Bugs883665

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
rsync (PTS)jessie, jessie (lts)3.1.1-3+deb8u2fixed
stretch (security), stretch (lts), stretch3.1.2-1+deb9u3fixed
buster3.1.3-6fixed
bullseye3.2.3-4+deb11u1fixed
bookworm3.2.7-1fixed
sid, trixie3.3.0-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
rsyncsourcewheezy3.0.9-4+deb7u1DLA-1218-1
rsyncsourcejessie3.1.1-3+deb8u1DSA-4068-1
rsyncsourcestretch3.1.2-1+deb9u1DSA-4068-1
rsyncsource(unstable)3.1.2-2.1883665

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