CVE-2024-12087: Rsync: path traversal vulnerability in rsync

Published Dec 5, 2024
·
Updated

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.

Affected Software

30 affected componentsFixes available
debian/rsync<=3.2.3-4+deb11u1, <=3.2.7-1
3.2.3-4+deb11u33.2.7-1+deb12u23.3.0+ds1-4
F5 BIG-IQ Centralized Management
Samba rsync<=3.3.0
AlmaLinux Almalinux=8.0
AlmaLinux Almalinux=9.0
AlmaLinux Almalinux=10.0
Archlinux Arch Linux
Gentoo Linux
NixOS NixOS<24.11
SUSE SuSE Linux
Tritondatacenter Smartos<20250123
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
redhat Enterprise Linux Eus=9.6
redhat Enterprise Linux For Arm 64=8.0_aarch64
redhat Enterprise Linux For Arm 64=9.0_aarch64
redhat Enterprise Linux For Arm 64 Eus=9.6_aarch64
redhat Enterprise Linux For Ibm Z Systems=8.0_s390x
redhat Enterprise Linux For Ibm Z Systems=9.0_s390x
redhat Enterprise Linux For Ibm Z Systems Eus=9.6_s390x
redhat Enterprise Linux For Power Little Endian=8.0_ppc64le
redhat Enterprise Linux For Power Little Endian=9.0_ppc64le
redhat Enterprise Linux For Power Little Endian Eus=9.6_ppc64le
redhat Enterprise Linux Server Aus=9.6
redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions=9.6_ppc64le
redhat Enterprise Linux Update Services For Sap Solutions=9.6
Microsoft cbl2 rsync 3.4.1-1
Microsoft azl3 rsync 3.4.1-1
Microsoft cbl2 rsync 3.2.5-1
Microsoft azl3 rsync 3.2.7-1

Event History

Dec 5, 2024
Data Sourced
via Red Hat·09:26 PM
DescriptionSeverityAffected Software
Jan 14, 2025
CVE Published
via MITRE·05:57 PM
Data Sourced
via MITRE·05:57 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
Affected Software
Jan 19, 2025
Data Sourced
via Ubuntu·12:07 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·12:07 AM
Description
Data Sourced
via Microsoft·08:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:00 AM
Affected Software
Updated
via Microsoft·08:00 AM
Affected Software
Updated
via Microsoft·08:00 AM
DescriptionSeverity
Jan 23, 2025
News Published
via BleepingComputer·06:30 PM
News Published
via BleepingComputer·06:32 PM
Known Exploited
06:32 PM
Mar 13, 2025
Advisory Published
via F5·01:26 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-12087?

CVE-2024-12087 is classified as a High severity vulnerability due to its potential for exploitation in path traversal scenarios.

2

How do I fix CVE-2024-12087?

To fix CVE-2024-12087, it is recommended to update rsync to versions 3.2.3-4+deb11u3, 3.2.7-1+deb12u2, or 3.3.0+ds1-4.

3

What software is affected by CVE-2024-12087?

CVE-2024-12087 affects the rsync software, specifically versions up to 3.2.3-4+deb11u1 and 3.2.7-1.

4

What is the impact of CVE-2024-12087?

The impact of CVE-2024-12087 is that it allows an attacker to access files outside of the intended directory via path traversal.

5

Is CVE-2024-12087 exploitable remotely?

Yes, CVE-2024-12087 can be exploited remotely if an attacker has access to a vulnerable rsync server configured with the --inc-recursive option.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203