Vulnerabilities / CVE-2017-16548

critical

CVE-2017-16548

rsync: Heap-based buffer over-read in receive_xattr function

Published Modified CWE 125
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.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat6.5CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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

Description

The receive_xattr function in xattrs.c in rsync 3.1.2 and 3.1.3-development does not check for a trailing '\0' character in an xattr name, which allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) or possibly have unspecified other impact by sending crafted data to the daemon.

Affected packages and fixed versions

SourcePackageFixed in
Photon OS 1.0rsync3.1.2-3.ph1
Photon OS 2.0rsync3.1.2-4.ph2
alpine 3.10rsync3.1.2-r7
alpine 3.11rsync3.1.2-r7
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
Show all 38 entries from 38 sources
SourcePackageFixed in
Photon OS 1.0rsync3.1.2-3.ph1
Photon OS 2.0rsync3.1.2-4.ph2
alpine 3.10rsync3.1.2-r7
alpine 3.11rsync3.1.2-r7
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.4rsync3.1.2-r3
alpine 3.5rsync3.1.2-r3
alpine 3.6rsync3.1.2-r6
alpine 3.7rsync3.1.2-r7
alpine 3.8rsync3.1.2-r7
alpine 3.9rsync3.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.4
ubuntu 14.04-ESMrsync3.1.0-2ubuntu0.4
ubuntu 16.04rsync3.1.1-3ubuntu1.2
ubuntu 16.04-ESMrsync3.1.1-3ubuntu1.2
ubuntu 17.10rsync3.1.2-2ubuntu0.2

References

All 11 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.