CVE-2024-12087
Rsync: path traversal vulnerability in rsync
A public proof of concept exists; no exploitation attested.
- Published2025-01-14
- WeaknessCWE-22
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2025-01-1417:57CVE publishedCNA
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 8.0 | = 8.0 | no fix published | NVD |
| 9.0 | = 9.0 | no fix published | NVD |
| 10.0 | = 10.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 8.0 | = 8.0 | no fix published | NVD |
| 9.0 | = 9.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 8.0 | = 8.0_aarch64 | no fix published | NVD |
| 9.0 | = 9.0_aarch64 | no fix published | NVD |
15 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA20 products
As redhat, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- rsyncother versions: not affected
https://github.com/RsyncProject/rsync
Affected- ≤ 3.3.0no fix statedsemver
- Red Hat Enterprise Linux 10other versions: affected
package rsynchttps://access.redhat.com/downloads/content/package-browser/
Not affected ≥ 0:3.4.1-2.el10
- Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSIONother versions: affected
package rsynchttps://access.redhat.com/downloads/content/package-browser/
Not affected ≥ 0:3.0.6-12.el6_10.2
- Red Hat Enterprise Linux 7 Extended Lifecycle Supportother versions: affected
package rsynchttps://access.redhat.com/downloads/content/package-browser/
Not affected ≥ 0:3.1.2-12.el7_9.2
- Red Hat Enterprise Linux 8other versions: affected
package rsynchttps://access.redhat.com/downloads/content/package-browser/
Not affected ≥ 0:3.1.3-21.el8_10
- Red Hat Enterprise Linux 8.2 Advanced Update Supportother versions: affected
package rsynchttps://access.redhat.com/downloads/content/package-browser/
Not affected ≥ 0:3.1.3-7.el8_2.6
14 more products in the CVE record.
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-10-21
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- rsyncUbuntu:Pro:18.04:LTSall versions · fixed in 3.1.2-2.1ubuntu1.6+esm1
- rsyncUbuntu:Pro:16.04:LTSall versions · fixed in 3.1.1-3ubuntu1.3+esm3
- rsyncUbuntu:Pro:14.04:LTSall versions · fixed in 3.1.0-2ubuntu0.4+esm1
- rsyncUbuntu:24.04:LTSall versions · fixed in 3.2.7-1ubuntu1.1
- rsyncUbuntu:22.04:LTSall versions · fixed in 3.2.7-0ubuntu0.22.04.3
- rsyncUbuntu:20.04:LTSall versions · fixed in 3.1.3-8ubuntu0.8
- rsyncTuxCare:Ubuntu:16.04all versions · fixed in 3.1.1-3ubuntu1.3+tuxcare.els7
- rsyncTuxCare:OracleLinux:7all versions · fixed in 3.1.2-12.el7_9.tuxcare.els3
79 more package ranges on OSV.dev
Vendor advisories
rsync: Path traversal vulnerability in rsync
openshift/ose-rhel-coreos-8 as a component of Red Hat OpenShift Container Platform 4 · openshift/ose-rhel-coreos-9 as a component of Red Hat OpenShift Container Platform 4
Red Hat Security Advisory: rsync security update
Red Hat Security Advisory: rsync security update
Red Hat Security Advisory: rsync security update
Red Hat Security Advisory: rsync security update
Red Hat Security Advisory: rsync security update
8 more advisories
Fix
- Vendor fix Red Hat Product Security RHSA-2025:23858 · 13 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2025:8385 · 2 productsThe containers required to run Discovery can be installed through discovery-installer RPM. See the official documentation for more details.
- Workaround from the vendor Red Hat Product Security RHSA-2025:23858 · 13 productsMitigation 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.
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2025-02-26
- PoC-in-GitHubno public repository identifiedread 2026-12-04
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2025-02-26
- CNACVSS 3.16.52026-11-03
- NVDCVSS 3.17.5read 2026-10-23
- CNAweakness (CWE)CWE-222026-11-03
- NVDweakness (CWE)CWE-22read 2026-10-23
- FIRST EPSSEPSS score2.3 %2026-12-04
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-55655same flawAzure Linux · MIT
- AZL-55682same flawAzure Linux · MIT
- EUVD-2024-50583same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-9x68-7qq6-v523same flawGitHub Advisory Database · CC-BY-4.0
- JLSEC-2025-326same flawJulia Security Advisories · CC-BY-4.0
- ALSA-2025:2600advisory covering several CVEsAlmaLinux · MIT
- ALSA-2025:7050advisory covering several CVEsAlmaLinux · MIT
- DLA-4015-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-5843-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2025-0019advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2025-1060advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1061advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1062advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1063advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1064advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2025:14665-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHBA-2025:6470advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:23154advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:23235advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:23407advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:23415advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:23416advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:23842advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:23853advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:23854advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:23858advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:2600advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:7050advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2025:2600advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2025:7050advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2025:0156-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:0157-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:0165-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:0166-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:20122-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:20223-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-7206-1advisory covering several CVEsUbuntu
- USN-7206-3advisory covering several CVEsUbuntu
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Published
- 2025-01-14
- Last modified
- 2026-10-21
- NVD status
- Modified
- GitHub advisory
- GHSA-9x68-7qq6-v523
Frequently asked questions
What is CVE-2024-12087?
Is CVE-2024-12087 actively exploited?
What is the CVSS score for CVE-2024-12087?
Running rsync? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-9x68-7qq6-v523
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0