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.
References
| Link | Resource |
|---|---|
| https://access.redhat.com/errata/RHSA-2025:2600 | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2025:7050 | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2025:8385 | Third Party Advisory |
| https://access.redhat.com/security/cve/CVE-2024-12087 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2330672 | Issue Tracking Third Party Advisory |
| https://kb.cert.org/vuls/id/952657 | Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2025/01/msg00008.html | |
| https://security.netapp.com/advisory/ntap-20250131-0002/ | |
| https://www.kb.cert.org/vuls/id/952657 | |
| https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj | Exploit Third Party Advisory |
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Configuration 3 (hide)
|
Configuration 4 (hide)
|
Configuration 5 (hide)
|
Configuration 6 (hide)
|
Configuration 7 (hide)
|
Configuration 8 (hide)
|
History
03 Nov 2025, 22:16
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
Information
Published : 2025-01-14 18:15
Updated : 2025-11-03 22:16
NVD link : CVE-2024-12087
Mitre link : CVE-2024-12087
CVE.ORG link : CVE-2024-12087
JSON object : View
Products Affected
suse
- suse_linux
redhat
- enterprise_linux
- enterprise_linux_eus
- enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions
- enterprise_linux_for_power_little_endian
- enterprise_linux_for_ibm_z_systems_eus
- enterprise_linux_server_aus
- enterprise_linux_for_arm_64
- enterprise_linux_for_power_little_endian_eus
- enterprise_linux_for_arm_64_eus
- enterprise_linux_for_ibm_z_systems
- enterprise_linux_update_services_for_sap_solutions
gentoo
- linux
almalinux
- almalinux
nixos
- nixos
archlinux
- arch_linux
tritondatacenter
- smartos
samba
- rsync
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
