CVE-2024-12087

HIGHCVSS 7.5/10EPSS 2.22%

Last modified

CVE-2024-12087 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. A path traversal vulnerability exists in rsync. It stems from behavior enabled by the `--inc-recursive` option, a default-enabled option for many client options and can be enabled by the server even if not explicitly enabled by the client. EPSS estimates a 2.22% chance of exploitation in the next 30 days.

Description

A path traversal vulnerability exists in rsync. It stems from behavior enabled by the `--inc-recursive` option, a default-enabled option for many client options and can be enabled by the server even if not explicitly enabled by the client. When using the `--inc-recursive` option, a lack of proper symlink verification coupled with deduplication checks occurring on a per-file-list basis could allow a server to write files outside of the client's intended destination directory. A malicious server could write malicious files to arbitrary locations named after valid directories/paths on the client.

Metrics

CVSS 3.1
7.5/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

EPSS Probability
2.22%

80.5th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
SambaRsync<= 3.3.0
AlmalinuxAlmalinux8.0
AlmalinuxAlmalinux9.0
AlmalinuxAlmalinux10.0
ArchlinuxArch LinuxAll versions
GentooLinuxAll versions
NixosNixos< 24.11
SuseSuse LinuxAll versions
TritondatacenterSmartos< 20250123
RedhatEnterprise Linux8.0
RedhatEnterprise Linux9.0
RedhatEnterprise Linux Eus9.6
RedhatEnterprise Linux For Arm 648.0_aarch64
RedhatEnterprise Linux For Arm 649.0_aarch64
RedhatEnterprise Linux For Arm 64 Eus9.6_aarch64
RedhatEnterprise Linux For Ibm Z Systems8.0_s390x
RedhatEnterprise Linux For Ibm Z Systems9.0_s390x
RedhatEnterprise Linux For Ibm Z Systems Eus9.6_s390x
RedhatEnterprise Linux For Power Little Endian8.0_ppc64le
RedhatEnterprise Linux For Power Little Endian9.0_ppc64le
RedhatEnterprise Linux For Power Little Endian Eus9.6_ppc64le
RedhatEnterprise Linux Server Aus9.6
RedhatEnterprise Linux Server For Power Little Endian Update Services For Sap Solutions9.6_ppc64le
RedhatEnterprise Linux Update Services For Sap Solutions9.6

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2024-12087?
A path traversal vulnerability exists in rsync. It stems from behavior enabled by the `--inc-recursive` option, a default-enabled option for many client options and can be enabled by the server even if not explicitly enabled by the client. When using the `--inc-recursive` option, a lack of proper symlink verification coupled with deduplication checks occurring on a per-file-list basis could allow a server to write files outside of the client's intended destination directory. A malicious server could write malicious files to arbitrary locations named after valid directories/paths on the client.
How severe is CVE-2024-12087?
CVE-2024-12087 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 2.22% probability of exploitation in the next 30 days.
How do I fix CVE-2024-12087?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2024-12087?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST