CVE-2024-12084
Critical 9.8No known exploitationFix status unknownRsync: heap buffer overflow in rsync due to improper checksum length handling
Record last updated
CVSS score
9.8
Critical on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
73%
Higher than 99% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
None
Not in the KEV catalog
Description
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.
Weakness: CWE-122
Patching and mitigation
- Patch status
- Unknown: no source documents a fix
- Mitigation
- Red Hat recommends filtering untrusted connections to Rsync via firewall rules on the host and on network firewall appliances. Additionally, systems which only need to provide remote Rsync access to users with known identities can enable authentication using the ```auth users``` parameter in their rsyncd configuration file (rsyncd.conf). Systems that provide anonymous read access to hosted files via Rsync, such as mirror hosts, do not have reasonable mitigation options available. We strongly urge operators using vulnerable versions of Rsync to update as soon as possible. Source (opens in a new tab)
- Vendor guidance
- access.redhat.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| almalinux | almalinux | 10.0 | Not documented | NIST NVD |
| archlinux | arch_linux | Not documented | Not documented | NIST NVD |
| gentoo | linux | Not documented | Not documented | NIST NVD |
| nixos | nixos | 24.11 | Not documented | NIST NVD |
| nixos | nixos | all versions before 24.11 | 24.11 | NIST NVD |
| novell | suse_linux | Not documented | Not documented | NIST NVD |
| redhat | enterprise_linux | 10.0 | Not documented | NIST NVD |
| samba | rsync | 3.2.7 | Not documented | NIST NVD |
| samba | rsync | 3.3.0 | Not documented | NIST NVD |
| tritondatacenter | smartos | all versions before 20250123 | 20250123 | NIST NVD |
| Red Hat | Red Hat Enterprise Linux 10 (unaffected) | 0:3.4.1-2.el10 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 6 (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 7 (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 8 (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 9 (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift Container Platform 4 (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift Container Platform 4 (status unknown) | Not documented | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by redhat
Source: CVE Program (opens in a new tab)
Vendor guidance and references
- RHBA-2025:6470 (opens in a new tab)vendor-advisory, x_refsource_redhat
- http://www.openwall.com/lists/oss-security/2025/01/14/6 (opens in a new tab)mailing list, third party advisory
- https://access.redhat.com/security/cve/CVE-2024-12084 (opens in a new tab)third party advisory, vdb-entry, x_refsource_redhat
- RHBZ#2330527 (opens in a new tab)issue tracking, issue-tracking, third party advisory, x_refsource_redhat
- https://kb.cert.org/vuls/id/952657 (opens in a new tab)third party advisory
- https://security.netapp.com/advisory/ntap-20250131-0002/ (opens in a new tab)
- https://www.kb.cert.org/vuls/id/952657 (opens in a new tab)