Vulnerabilities / CVE-2017-17434

critical

CVE-2017-17434

rsync: daemon does not check for fnamecmp filenames allowing for access restriction bypass

Published Modified
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat4.8CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Trivy's own label is CRITICAL. Rated critical by NVD, Photon OS. Rated lower by Red Hat (medium), Ubuntu (medium).

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 packages and fixed versions

SourcePackageFixed in
Photon OS 1.0rsync3.1.2-4.ph1
Photon OS 2.0rsync3.1.2-5.ph2
Photon OS 3.0rsync3.1.3-2.ph3
alpine 3.12rsync3.1.2-r7
alpine 3.13rsync3.1.2-r7
alpine 3.14rsync3.1.2-r7
alpine 3.15rsync3.1.2-r7
alpine 3.16rsync3.1.2-r7
alpine 3.17rsync3.1.2-r7
alpine 3.18rsync3.1.2-r7
alpine 3.19rsync3.1.2-r7
alpine 3.20rsync3.1.2-r7
Show all 33 entries from 33 sources
SourcePackageFixed in
Photon OS 1.0rsync3.1.2-4.ph1
Photon OS 2.0rsync3.1.2-5.ph2
Photon OS 3.0rsync3.1.3-2.ph3
alpine 3.12rsync3.1.2-r7
alpine 3.13rsync3.1.2-r7
alpine 3.14rsync3.1.2-r7
alpine 3.15rsync3.1.2-r7
alpine 3.16rsync3.1.2-r7
alpine 3.17rsync3.1.2-r7
alpine 3.18rsync3.1.2-r7
alpine 3.19rsync3.1.2-r7
alpine 3.20rsync3.1.2-r7
alpine 3.21rsync3.1.2-r7
alpine 3.22rsync3.1.2-r7
alpine 3.23rsync3.1.2-r7
alpine 3.24rsync3.1.2-r7
alpine 3.7rsync3.1.2-r7
alpine edgersync3.1.2-r7
debian 11rsync3.1.2-2.1
debian 12rsync3.1.2-2.1
debian 13rsync3.1.2-2.1
debian 14rsync3.1.2-2.1
debian 7rsync3.0.9-4+deb7u1
debian 8rsync3.1.1-3+deb8u1
debian 9rsync3.1.2-1+deb9u1
echorsync3.1.2-2.1
Red Hatrsyncno fix listed
ubuntu 14.04rsync3.1.0-2ubuntu0.3
ubuntu 14.04-ESMrsync3.1.0-2ubuntu0.3
ubuntu 16.04rsync3.1.1-3ubuntu1.1
ubuntu 16.04-ESMrsync3.1.1-3ubuntu1.1
ubuntu 17.04rsync3.1.2-1ubuntu0.1
ubuntu 17.10rsync3.1.2-2ubuntu0.1

References

All 10 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.