Path Traversal in Archlinux Arch Linux
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.023, 83.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Archlinux Arch Linux
- Gentoo Linux
- Nixos
- Samba Rsync
- Tritondatacenter Smartos
- Almalinux — versions 8.0, 9.0, 10.0
- Red Hat Openshift Container Platform 4
- Red Hat Enterprise Linux — versions 8.0, 9.0
- Red Hat Enterprise Linux Eus — versions 9.6
- Red Hat Enterprise Linux For Arm 64 — versions 8.0_aarch64, 9.0_aarch64
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (adegoodyer/kubernetes-admin-toolkit, mosaicwang/myrpm). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- RHBA-2025:6470 (vendor-advisory)
- RHSA-2025:23154 (vendor-advisory)
- RHSA-2025:23235 (vendor-advisory)
- RHSA-2025:23407 (vendor-advisory)
- RHSA-2025:23415 (vendor-advisory)
- RHSA-2025:23416 (vendor-advisory)
- RHSA-2025:23842 (vendor-advisory)
- RHSA-2025:23853 (vendor-advisory)
- RHSA-2025:23854 (vendor-advisory)
- RHSA-2025:23858 (vendor-advisory)