9.8critical
Rsync: heap buffer overflow in rsync due to improper checksum length handling
- Severity
- 9.8critical CVSS:3.1 by redhat
- Exploit likelihood
- 73.0% (higher than 99% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| rsync | 3.2.7, 3.3.0 Not affected: from 0:3.4.1-2.el10 before * | CVE List |
| openshift/ose-rhel-coreos-8 | Not specified | CVE List |
| openshift/ose-rhel-coreos-9 | Not specified | CVE List |
| samba rsync | 3.2.7, 3.3.0 | NVD |
| almalinux almalinux | 10.0 | NVD |
| archlinux arch_linux | Not specified | NVD |
| gentoo linux | Not specified | NVD |
| nixos nixos | before 24.11, 24.11 | NVD |
| novell suse_linux | Not specified | NVD |
| tritondatacenter smartos | before 20250123 | NVD |
| redhat enterprise_linux | 10.0 | NVD |
Classification
What each source says
CVE List
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.
NVD (es)
Se encontró un fallo de desbordamiento de búfer basado en montón en rsync daemon. Este problema se debe a una gestión inadecuada de las longitudes de suma de comprobación controladas por el atacante (s2length) en el código. Cuando MAX_DIGEST_LEN excede el valor fijo SUM_LENGTH (16 bytes), un atacante puede escribir fuera de los límites en el búfer de sum2.
References
| https://access.redhat.com/errata/RHBA-2025:6470 | vendor-advisory | |
| https://access.redhat.com/security/cve/CVE-2024-12084 | third-party-advisory, vdb-entry | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2330527 | issue-tracking, third-party-advisory | |
| https://kb.cert.org/vuls/id/952657 | third-party-advisory | |
| https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj | exploit, vendor-advisory | |
| http://www.openwall.com/lists/oss-security/2025/01/14/6 | mailing-list, third-party-advisory | |
| https://security.netapp.com/advisory/ntap-20250131-0002/ | ||
| https://www.kb.cert.org/vuls/id/952657 | ||
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-12084 changed 2026-11-23 | CVE Terms of Use |
| NVD | CVE-2024-12084 changed 2026-11-23 | Public domain |