Rsync: path traversal vulnerability in rsync
Summary
| CVE | CVE-2024-12087 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-01-14 18:15:25 UTC |
| Updated | 2026-04-14 22:16:26 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.5 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS: 0.031890000 probability, percentile 0.869920000 (date 2026-04-15)
Problem Types: CWE-22 | CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| 3.1 | [email protected] | Secondary | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| 3.1 | CNA | CVSS | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
HighAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Almalinux | Almalinux | 10.0 | - | All | All |
| Operating System | Almalinux | Almalinux | 8.0 | - | All | All |
| Operating System | Almalinux | Almalinux | 9.0 | - | All | All |
| Operating System | Archlinux | Arch Linux | - | All | All | All |
| Operating System | Gentoo | Linux | - | All | All | All |
| Operating System | Nixos | Nixos | All | All | All | All |
| Operating System | Redhat | Enterprise Linux | 8.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux | 9.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux Eus | 9.6 | All | All | All |
| Operating System | Redhat | Enterprise Linux For Arm 64 | 8.0_aarch64 | All | All | All |
| Operating System | Redhat | Enterprise Linux For Arm 64 | 9.0_aarch64 | All | All | All |
| Operating System | Redhat | Enterprise Linux For Arm 64 Eus | 9.6_aarch64 | All | All | All |
| Operating System | Redhat | Enterprise Linux For Ibm Z Systems | 8.0_s390x | All | All | All |
| Operating System | Redhat | Enterprise Linux For Ibm Z Systems | 9.0_s390x | All | All | All |
| Operating System | Redhat | Enterprise Linux For Ibm Z Systems Eus | 9.6_s390x | All | All | All |
| Operating System | Redhat | Enterprise Linux For Power Little Endian | 8.0_ppc64le | All | All | All |
| Operating System | Redhat | Enterprise Linux For Power Little Endian | 9.0_ppc64le | All | All | All |
| Operating System | Redhat | Enterprise Linux For Power Little Endian Eus | 9.6_ppc64le | All | All | All |
| Operating System | Redhat | Enterprise Linux Server Aus | 9.6 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions | 9.6_ppc64le | All | All | All |
| Operating System | Redhat | Enterprise Linux Update Services For Sap Solutions | 9.6 | All | All | All |
| Application | Samba | Rsync | All | All | All | All |
| Operating System | Suse | Suse Linux | - | All | All | All |
| Operating System | Tritondatacenter | Smartos | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Red Hat | Red Hat Enterprise Linux 10 | unaffected 0:3.4.1-2.el10 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION | unaffected 0:3.0.6-12.el6_10.2 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 7 Extended Lifecycle Support | unaffected 0:3.1.2-12.el7_9.2 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8 | unaffected 0:3.1.3-21.el8_10 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.2 Advanced Update Support | unaffected 0:3.1.3-7.el8_2.6 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | unaffected 0:3.1.3-12.el8_4.6 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | unaffected 0:3.1.3-12.el8_4.6 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | unaffected 0:3.1.3-14.el8_6.9 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.6 Telecommunications Update Service | unaffected 0:3.1.3-14.el8_6.9 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.6 Update Services For SAP Solutions | unaffected 0:3.1.3-14.el8_6.9 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.8 Telecommunications Update Service | unaffected 0:3.1.3-20.el8_8.4 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.8 Update Services For SAP Solutions | unaffected 0:3.1.3-20.el8_8.4 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | unaffected 0:3.2.5-3.el9 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | unaffected 0:3.2.5-3.el9 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9.0 Update Services For SAP Solutions | unaffected 0:3.2.3-9.el9_0.4 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9.2 Update Services For SAP Solutions | unaffected 0:3.2.3-19.el9_2.2 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9.4 Extended Update Support | unaffected 0:3.2.3-19.el9_4.2 * rpm | Not specified |
| CNA | Red Hat | Red Hat Discovery 1.14 | unaffected sha256:492e412759cf0eedfa5b557f7b0865f8864f84d0ed75e11dc8d7a840837d9644 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4 | Not specified | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| access.redhat.com/errata/RHSA-2025:23416 | [email protected] | access.redhat.com | |
| security.netapp.com/advisory/ntap-20250131-0002 | af854a3a-2127-422b-91ae-364da2661108 | security.netapp.com | |
| access.redhat.com/errata/RHSA-2025:7050 | [email protected] | access.redhat.com | Third Party Advisory |
| bugzilla.redhat.com/show_bug.cgi | [email protected] | bugzilla.redhat.com | Issue Tracking, Third Party Advisory |
| access.redhat.com/errata/RHSA-2025:23854 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:23858 | [email protected] | access.redhat.com | |
| www.kb.cert.org/vuls/id/952657 | af854a3a-2127-422b-91ae-364da2661108 | www.kb.cert.org | |
| access.redhat.com/errata/RHSA-2025:23842 | [email protected] | access.redhat.com | |
| access.redhat.com/security/cve/CVE-2024-12087 | [email protected] | access.redhat.com | Third Party Advisory |
| access.redhat.com/errata/RHSA-2025:23235 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:23415 | [email protected] | access.redhat.com | |
| kb.cert.org/vuls/id/952657 | [email protected] | kb.cert.org | Third Party Advisory |
| access.redhat.com/errata/RHSA-2025:2600 | [email protected] | access.redhat.com | Third Party Advisory |
| access.redhat.com/errata/RHSA-2025:23853 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:23154 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHBA-2025:6470 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:8385 | [email protected] | access.redhat.com | Third Party Advisory |
| github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | github.com | Exploit, Third Party Advisory |
| access.redhat.com/errata/RHSA-2025:23407 | [email protected] | access.redhat.com | |
| lists.debian.org/debian-lts-announce/2025/01/msg00008.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Red Hat would like to thank Jasiel Spelman (Google), Pedro Gallegos (Google), and Simon Scannell (Google) for reporting this issue. (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2024-12-05T21:23:24.139Z | Reported to Red Hat. |
| CNA | 2025-01-14T15:06:00.000Z | Made public. |
Workarounds
CNA: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
There are currently no legacy QID mappings associated with this CVE.