Rsync: heap buffer overflow in rsync due to improper checksum length handling
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-122 and the CVSS impact.
Summary
A heap-based buffer overflow flaw was found in the rsync daemon. This issue is due to improper handling of attacker-controlled checksum lengths (s2length) in the code. When MAX_DIGEST_LEN exceeds the fixed SUM_LENGTH (16 bytes), an attacker can write out of bounds in the sum2 buffer.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | rsync | 3.2.7; 3.3.0 | — | No fix listed | CNA |
| Red Hat | Red Hat Enterprise Linux 10 | — | 3.4.1-2.el10 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 6 | — | — | Not affected | CNA |
| Red Hat | Red Hat Enterprise Linux 7 | — | — | Not affected | CNA |
| Red Hat | Red Hat Enterprise Linux 8 | — | — | Not affected | CNA |
| Red Hat | Red Hat Enterprise Linux 9 | — | — | Not affected | CNA |
| Red Hat | Red Hat OpenShift Container Platform 4 | — | — | Not affected | CNA |
| Red Hat | Red Hat OpenShift Container Platform 4 | — | — | Not affected | CNA |
- rsync Vendor— Affected 3.2.7; 3.3.0 Fixed in — No fix listed CNA
- Red Hat Enterprise Linux 10 VendorRed Hat Affected — Fixed in 3.4.1-2.el10 Patch available CNA
- Red Hat Enterprise Linux 6 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Enterprise Linux 7 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Enterprise Linux 8 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat OpenShift Container Platform 4 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat OpenShift Container Platform 4 VendorRed Hat Affected — Fixed in — Not affected CNA
CPE configurations NVD · 10
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:samba:rsync:3.2.7:-:*:*:*:*:*:* | 3.2.7 | Vulnerable | Samba |
| cpe:2.3:a:samba:rsync:3.3.0:-:*:*:*:*:*:* | 3.3.0 | Vulnerable | Samba |
| cpe:2.3:o:almalinux:almalinux:10.0:-:*:*:*:*:*:* | 10.0 | Vulnerable | Almalinux |
| cpe:2.3:o:archlinux:arch_linux:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | Archlinux |
| cpe:2.3:o:gentoo:linux:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | gentoo |
| cpe:2.3:o:nixos:nixos:*:*:*:*:*:*:*:* | before 24.11 | Vulnerable | NixOS |
| cpe:2.3:o:nixos:nixos:24.11:*:*:*:*:*:*:* | 24.11 | Vulnerable | NixOS |
| cpe:2.3:o:novell:suse_linux:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | Novell |
| cpe:2.3:o:tritondatacenter:smartos:*:*:*:*:*:*:*:* | before 20250123 | Vulnerable | Triton Data Center |
| cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:* | 10.0 | Vulnerable | Red Hat |
- cpe:2.3:a:samba:rsync:3.2.7:-:*:*:*:*:*:* Versions 3.2.7 Vulnerable ·Samba
- cpe:2.3:a:samba:rsync:3.3.0:-:*:*:*:*:*:* Versions 3.3.0 Vulnerable ·Samba
- cpe:2.3:o:almalinux:almalinux:10.0:-:*:*:*:*:*:* Versions 10.0 Vulnerable ·Almalinux
- cpe:2.3:o:archlinux:arch_linux:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·Archlinux
- cpe:2.3:o:gentoo:linux:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·gentoo
- cpe:2.3:o:nixos:nixos:*:*:*:*:*:*:*:* Versions before 24.11 Vulnerable ·NixOS
- cpe:2.3:o:nixos:nixos:24.11:*:*:*:*:*:*:* Versions 24.11 Vulnerable ·NixOS
- cpe:2.3:o:novell:suse_linux:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·Novell
- cpe:2.3:o:tritondatacenter:smartos:*:*:*:*:*:*:*:* Versions before 20250123 Vulnerable ·Triton Data Center
- cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Red Hat
Remediation
- Fix · CNA Red Hat Enterprise Linux 10 (Red Hat) Fixed in 3.4.1-2.el10
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6 and 4 more products — RHBA-2025:6470
6 records Highest priority Priority CRITICAL 1 CRITICAL, 3 HIGH, 1 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2024-11209 Rsync: info leak via uninitialized stack contentsPriority HIGH 72
- TI-2024-11212 Rsync: --safe-links option bypass leads to path traversalPriority HIGH 66
- TI-2024-11211 Rsync: path traversal vulnerability in rsyncPriority HIGH 66
Vendor assessments
Red Hat
Red Hat rating: Critical. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | — |
| Red Hat Enterprise Linux BaseOS (v. 10) | Fixed | — |
Not affected: 5 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
Timeline
- 2026-10-02 Threatist record created from CVE-2024-12084
- 2026-10-03 Alias added: GHSA-85h7-m8c3-v9wc
- 2026-10-21 Affected versions changed · CNA
References
More Red Hat Enterprise Linux vulnerabilities
- TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
- TI-2018-10530 Code injection in [UNKNOWN] RichFaces KEVCVSS 3.1CRITICAL 9.8
- TI-2014-05975 GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed… KEVCVSS 3.1CRITICAL 9.8
- TI-2014-05157 GNU Bash through 4.3 processes trailing strings after function definitions in the values… KEVCVSS 3.1CRITICAL 9.8
- TI-2025-23530 Sudo before 1.9.17p1 allows local users to obtain root access because /etc/nsswitch.conf… KEVCVSS 3.1CRITICAL 9.3
- TI-2021-17490 mod_proxy SSRF KEVCVSS 3.1CRITICAL 9.0
Sources
- CVE-2024-12084 · CVE Program
- CVE-2024-12084 · NVD
- FIRST EPSS
- GHSA-85h7-m8c3-v9wc · GitHub Advisory Database · CC BY 4.0
- CVE-2024-12084 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences