CVE-2024-12087
Rsync: path traversal vulnerability in rsync
- State
- Published
- Severity
- 6.5 Medium
- Published
- Jan 14, 2025
- Updated
- Oct 21, 2026
- Reserved
- Dec 3, 2024
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.5 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N | redhat |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Products
| Product | Versions |
|---|---|
rsync |
|
Red Hat Enterprise Linux 10Red Hat |
|
Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSIONRed Hat |
|
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRed Hat |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 8.2 Advanced Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-OnRed Hat |
|
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.6 Telecommunications Update ServiceRed Hat |
|
Red Hat Enterprise Linux 8.6 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 8.8 Telecommunications Update ServiceRed Hat |
|
Red Hat Enterprise Linux 8.8 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9.0 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 9.2 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 9.4 Extended Update SupportRed Hat |
|
Red Hat Discovery 1.14Red Hat |
|
Red Hat OpenShift Container Platform 4Red Hat | |
Red Hat OpenShift Container Platform 4Red Hat |
References
- RHBA-2025:6470vendor-advisory
- RHSA-2025:23154vendor-advisory
- RHSA-2025:23235vendor-advisory
- RHSA-2025:23407vendor-advisory
- RHSA-2025:23415vendor-advisory
- RHSA-2025:23416vendor-advisory
- RHSA-2025:23842vendor-advisory
- RHSA-2025:23853vendor-advisory
- RHSA-2025:23854vendor-advisory
- RHSA-2025:23858vendor-advisory
- RHSA-2025:2600vendor-advisory
- RHSA-2025:7050vendor-advisory
- RHSA-2025:8385vendor-advisory
- https://access.redhat.com/security/cve/CVE-2024-12087vdb-entry
- RHBZ#2330672issue-tracking
- https://kb.cert.org/vuls/id/952657
- https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqjexploit
- https://security.netapp.com/advisory/ntap-20250131-0002/
- https://lists.debian.org/debian-lts-announce/2025/01/msg00008.html
- https://www.kb.cert.org/vuls/id/952657
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.