CVE-2024-12084
JSON

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 packageVersionsReported by
rsync3.2.7, 3.3.0
Not affected: from 0:3.4.1-2.el10 before *
CVE List
openshift/ose-rhel-coreos-8Not specifiedCVE List
openshift/ose-rhel-coreos-9Not specifiedCVE List
samba rsync3.2.7, 3.3.0NVD
almalinux almalinux10.0NVD
archlinux arch_linuxNot specifiedNVD
gentoo linuxNot specifiedNVD
nixos nixosbefore 24.11, 24.11NVD
novell suse_linuxNot specifiedNVD
tritondatacenter smartosbefore 20250123NVD
redhat enterprise_linux10.0NVD

Classification

CWE-122CWE-787

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

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

Sources

SourceRecordLicence
CVE ListCVE-2024-12084 changed 2026-11-23CVE Terms of Use
NVDCVE-2024-12084 changed 2026-11-23Public domain