CVE-2017-16548

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…

published November 6, 2017

CVSS
—
EPSS
6%
Percentile
93.0
In the wild
Unconfirmed
What it is

⚠️ A sneaky oversight in rsync could let crafted data crash your application! The receive_xattr function fails to check for a trailing '\0' character in xattr names, making it vulnerable. 😱 Think of this as a restaurant that accepts orders without checking if the meal name is cut off mid-sentence — you could end up with a completely lost order or worse, a kitchen disaster! 🍽️ An attacker can send specially crafted data to the daemon, leading to a denial of service. This means that your application could crash unexpectedly, leaving users frustrated and unable to access services when they need them most. It's a real headache! 💥

Put simply

Think of this as a restaurant that accepts orders without checking if the meal name is cut off mid-sentence — you could end up with a completely lost order or worse, a kitchen disaster! 🍽️ This vulnerability stems from the receive_xattr function in rsync versions 3.1.2 and 3.1.3-development, where a lack of validation for the xattr name can lead to a heap-based buffer over-read and potential application crashes.

What to do

An attacker can send specially crafted data to the daemon, leading to a denial of service. This means that your application could crash unexpectedly, leaving users frustrated and unable to access services when they need them most. It's a real headache! 💥 To safeguard against this, consider updating rsync to a version that includes proper checks for xattr names, or patching the code to ensure that it validates the presence of a trailing '\0' character. Regularly auditing your rsync setup will help keep things running smoothly! 🔧 You've got this! With a few quick fixes, you'll strengthen your rsync setup and keep those crashes at bay! 🦸

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.05775 · 93.0th percentile
Published
2017-11-06T05:00Z
EPSS history
Timeline
  • 06 NOV 05:00Z
    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…
    cvelistv5