CVE-2024-12087: Rsync: path traversal vulnerability in rsync
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 2.2% (FIRST EPSS); higher than 83.2% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: azl3 rsync 3.2.7-1 on Azure Linux 3.0 3.4.1-1; azl3 rsync 3.4.1-1 on Azure Linux 3.0 3.4.1-1; cbl2 rsync 3.2.5-1 on CBL Mariner 2.0 3.4.1-1.
Low priority for now. Upgrade to azl3 rsync 3.2.7-1 on Azure Linux 3.0 3.4.1-1; azl3 rsync 3.4.1-1 on Azure Linux 3.0 3.4.1-1; cbl2 rsync 3.2.5-1 on CBL Mariner 2.0 3.4.1-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- BDU:2025-00377
- ALSA-2025:2600
- ALSA-2025:7050
- DLA-4015-1
- DSA-5843-1
- openSUSE-SU-2025:14665-1
- RHBA-2025:6470
- RHSA-2025:23154
- RHSA-2025:23235
- RHSA-2025:23407
- RHSA-2025:23415
- RHSA-2025:23416
- RHSA-2025:23842
- RHSA-2025:23853
- RHSA-2025:23854
- RHSA-2025:23858
- RHSA-2025:2600
- RHSA-2025:7050
- RLSA-2025:2600
- RLSA-2025:7050
- Published
- Jan 14, 2025
- Updated
- Nov 3, 2026
- EPSS
- 2.2% · 83th percentile
- CWE
- CWE-22
Report tools
Action score
31
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.2%
CISA SSVC decision
- Exploitation
- proof of concept
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 7.5
- CNA · redhat
- 6.5
- 1.0 point gap
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| samba | rsync | cpe:2.3:a:samba:rsync |
| almalinux | almalinux | cpe:2.3:o:almalinux:almalinux |
| archlinux | arch linux | cpe:2.3:o:archlinux:arch_linux |
| gentoo | linux | cpe:2.3:o:gentoo:linux |
| nixos | nixos | cpe:2.3:o:nixos:nixos |
| suse | suse linux | cpe:2.3:o:suse:suse_linux |
| tritondatacenter | smartos | cpe:2.3:o:tritondatacenter:smartos |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| redhat | enterprise linux eus | cpe:2.3:o:redhat:enterprise_linux_eus |
| redhat | enterprise linux for arm 64 | cpe:2.3:o:redhat:enterprise_linux_for_arm_64 |
| redhat | enterprise linux for arm 64 eus | cpe:2.3:o:redhat:enterprise_linux_for_arm_64_eus |
| redhat | enterprise linux for ibm z systems | cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems |
and 6 more
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
github.com/RsyncProject/rsync rsync
- up to and including 3.3.0affected · semver
Red Hat Red Hat Discovery 1.14
- 1.14.2-1748467619 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 10
- 0:3.4.1-2.el10 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION
- 0:3.0.6-12.el6_10.2 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support
- 0:3.1.2-12.el7_9.2 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8
- 0:3.1.3-21.el8_10 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support
- 0:3.1.3-7.el8_2.6 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
- 0:3.1.3-12.el8_4.6 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
- 0:3.1.3-12.el8_4.6 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
- 0:3.1.3-14.el8_6.9 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service
- 0:3.1.3-14.el8_6.9 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
- 0:3.1.3-14.el8_6.9 and laternot affected · rpm
Affected versions · NVD (20)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- almalinux almalinux10.0
- almalinux almalinux8.0
- almalinux almalinux9.0
- archlinux arch linuxall versions
- gentoo linuxall versions
- nixos nixosbefore 24.11
- redhat enterprise linux8.0
- redhat enterprise linux9.0
- redhat enterprise linux eus9.6
- redhat enterprise linux for arm 648.0_aarch64
- redhat enterprise linux for arm 649.0_aarch64
- redhat enterprise linux for arm 64 eus9.6_aarch64
- redhat enterprise linux for ibm z systems8.0_s390x
- redhat enterprise linux for ibm z systems9.0_s390x
- redhat enterprise linux for ibm z systems eus9.6_s390x
- redhat enterprise linux for power little endian8.0_ppc64le
- redhat enterprise linux for power little endian9.0_ppc64le
- redhat enterprise linux for power little endian eus9.6_ppc64le
- redhat enterprise linux server aus9.6
- redhat enterprise linux server for power little endian update services for sap solutions9.6_ppc64le
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | rsync | before 3.1.3-21.el8_10 | 3.1.3-21.el8_10 |
| AlmaLinux:8 | rsync-daemon | before 3.1.3-21.el8_10 | 3.1.3-21.el8_10 |
| AlmaLinux:9 | rsync | before 3.2.5-3.el9 | 3.2.5-3.el9 |
| AlmaLinux:9 | rsync-daemon | before 3.2.5-3.el9 | 3.2.5-3.el9 |
| AlmaLinux:9 | rsync-rrsync | before 3.2.5-3.el9 | 3.2.5-3.el9 |
| Alpine:v3.18 | rsync | before 3.4.0-r0 | 3.4.0-r0 |
| Debian:11 | rsync | before 3.2.3-4+deb11u2 | 3.2.3-4+deb11u2 |
| Debian:12 | rsync | before 3.2.7-1+deb12u1 | 3.2.7-1+deb12u1 |
| Debian:13 | rsync | before 3.3.0+ds1-3 | 3.3.0+ds1-3 |
| openSUSE:Leap 15.6 | rsync | before 3.2.7-150600.3.8.1 | 3.2.7-150600.3.8.1 |
| openSUSE:Tumbleweed | rsync | before 3.4.1-1.1 | 3.4.1-1.1 |
| Red Hat:enterprise_linux:10.0 | rsync | before 0:3.4.1-2.el10 | 0:3.4.1-2.el10 |
| Red Hat:enterprise_linux:10.0 | rsync-daemon | before 0:3.4.1-2.el10 | 0:3.4.1-2.el10 |
| Red Hat:enterprise_linux:10.0 | rsync-debuginfo | before 0:3.4.1-2.el10 | 0:3.4.1-2.el10 |
| Red Hat:enterprise_linux:10.0 | rsync-debugsource | before 0:3.4.1-2.el10 | 0:3.4.1-2.el10 |
| Red Hat:enterprise_linux:10.0 | rsync-rrsync | before 0:3.4.1-2.el10 | 0:3.4.1-2.el10 |
| Red Hat:enterprise_linux:8::baseos | rsync | before 0:3.1.3-21.el8_10 | 0:3.1.3-21.el8_10 |
| Red Hat:enterprise_linux:8::baseos | rsync-daemon | before 0:3.1.3-21.el8_10 | 0:3.1.3-21.el8_10 |
| Red Hat:enterprise_linux:8::baseos | rsync-debuginfo | before 0:3.1.3-21.el8_10 | 0:3.1.3-21.el8_10 |
| Red Hat:enterprise_linux:8::baseos | rsync-debugsource | before 0:3.1.3-21.el8_10 | 0:3.1.3-21.el8_10 |
| Red Hat:enterprise_linux:9::appstream | rsync-daemon | before 0:3.2.5-3.el9 | 0:3.2.5-3.el9 |
| Red Hat:enterprise_linux:9::appstream | rsync-rrsync | before 0:3.2.5-3.el9 | 0:3.2.5-3.el9 |
| Red Hat:enterprise_linux:9::baseos | rsync | before 0:3.2.5-3.el9 | 0:3.2.5-3.el9 |
| Red Hat:enterprise_linux:9::baseos | rsync-debuginfo | before 0:3.2.5-3.el9 | 0:3.2.5-3.el9 |
+41
Same product
samba: all recordsOther highest-scoring records for the same primary product.
- CVE-2024-12084Rsync: heap buffer overflow in rsync due to improper checksum length handling61This week
- CVE-2017-16548The receive_xattr function in xattrs.c in rsync 3.1.2 and 3.1.3-development does not check for a trailing '\0' character in an xattr name…41Plan
- CVE-2017-17434The daemon in rsync 3.1.2, and 3.1.3-development before 2017-12-03, does not check for fnamecmp filenames in the daemon_filter_list data…40Plan
Published before and after this one in the same product
- ← EarlierCVE-2024-12085Jan 14, 2025 · Rsync: info leak via uninitialized stack contents33Monitor
- ← EarlierCVE-2024-12086Jan 14, 2025 · Rsync: rsync server leaks arbitrary client files28Monitor
- Later →CVE-2024-12088Jan 14, 2025 · Rsync: --safe-links option bypass leads to path traversal31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| azl3 rsync 3.2.7-1 on Azure Linux 3.0 | 3.4.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 rsync 3.4.1-1 on Azure Linux 3.0 | 3.4.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 rsync 3.2.5-1 on CBL Mariner 2.0 | 3.4.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 rsync 3.2.5-1 on CBL-Mariner 2.0 | 3.4.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 rsync 3.4.1-1 on CBL Mariner 2.0 | 3.4.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| almalinux:rsync | 3.1.3-21.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:rsync-daemon | 3.1.3-21.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:rsync-rrsync | 3.2.5-3.el9 · AlmaLinux:9 | Package registry (OSV) |
| alpine:rsync | 3.4.0-r0 · Alpine:v3.18 | Package registry (OSV) |
| debian:rsync | 3.2.7-1+deb12u1 · Debian:12 | Package registry (OSV) |
| opensuse:rsync | 3.2.7-150600.3.8.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| red hat:rsync | 0:3.4.1-2.el10 · Red Hat:enterprise_linux:10.0 | Package registry (OSV) |
| red hat:rsync-daemon | 0:3.4.1-2.el10 · Red Hat:enterprise_linux:10.0 | Package registry (OSV) |
| red hat:rsync-debuginfo | 0:3.4.1-2.el10 · Red Hat:enterprise_linux:10.0 | Package registry (OSV) |
| red hat:rsync-debugsource | 0:3.4.1-2.el10 · Red Hat:enterprise_linux:10.0 | Package registry (OSV) |
| red hat:rsync-rrsync | 0:3.4.1-2.el10 · Red Hat:enterprise_linux:10.0 | Package registry (OSV) |
| rocky linux:rsync | 0:3.1.3-21.el8_10 · Rocky Linux:8 | Package registry (OSV) |
| suse:rsync | 3.2.7-150600.3.8.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP6 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2024-120880 days apartRsync: --safe-links option bypass leads to path traversal31Monitor
Not on record for this CVE: EPSS history · patch commit or PR link · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
nvd-primary
Root cause
A user-supplied file name is joined with the allowed directory, but the result is never checked to confirm it is still inside that directory.
The bug in code
The whole CWE-22 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const file = path.join(ROOT, req.query.name);
res.sendFile(file);Fixed
const file = path.resolve(ROOT, req.query.name);
if (!file.startsWith(ROOT + path.sep)) {
return res.sendStatus(400);
}
res.sendFile(file);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Path TraversalCAPEC-126likelihood: High · Very High
- Using Slashes and URL Encoding Combined to Bypass Validation LogicCAPEC-64likelihood: High · High
- Manipulating Web Input to File System CallsCAPEC-76likelihood: High · Very High
- Using Escaped Slashes in Alternate EncodingCAPEC-78likelihood: High · High
- Using Slashes in Alternate EncodingCAPEC-79likelihood: High · High
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (18 more)Show less
- access.redhat.com/errata/RHSA-2025:23154
- access.redhat.com/errata/RHSA-2025:23235
- access.redhat.com/errata/RHSA-2025:23407
- access.redhat.com/errata/RHSA-2025:23415
- access.redhat.com/errata/RHSA-2025:23416
- access.redhat.com/errata/RHSA-2025:23842
- access.redhat.com/errata/RHSA-2025:23853
- access.redhat.com/errata/RHSA-2025:23854
- access.redhat.com/errata/RHSA-2025:23858
- access.redhat.com/errata/RHSA-2025:2600
- access.redhat.com/errata/RHSA-2025:7050
- access.redhat.com/errata/RHSA-2025:8385
- access.redhat.com/security/cve/CVE-2024-12087
- bugzilla.redhat.com/show_bug.cgi?id=2330672
- kb.cert.org/vuls/id/952657
- lists.debian.org/debian-lts-announce/2025/01/msg00008.html
- security.netapp.com/advisory/ntap-20250131-0002/
- www.kb.cert.org/vuls/id/952657
Vendor advisories and official records. Exploit/PoC links are deliberately left out.