CVE-2024-12084
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
3.2.7 | affected | ||
3.3.0 | affected | ||
| Red Hat | Red Hat Enterprise Linux 10 | 0:3.4.1-2.el10 < * | unaffected |
Weaknesses
- CWE-122: Heap-based Buffer Overflow
Workarounds
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.
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: yes
- Technical Impact: total
Additional References
CVE Program Container
Additional References
- http://www.openwall.com/lists/oss-security/2025/01/14/6
- https://security.netapp.com/advisory/ntap-20250131-0002/
- https://www.kb.cert.org/vuls/id/952657
References
- https://access.redhat.com/errata/RHBA-2025:6470
- https://access.redhat.com/security/cve/CVE-2024-12084
- https://bugzilla.redhat.com/show_bug.cgi?id=2330527
- https://kb.cert.org/vuls/id/952657
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.