CVEfocus › CVE database › CVE-2024-12084

CVE-2024-12084Rsync: heap buffer overflow in rsync due to improper checksum length handling

CVSS 9.8 CriticalEPSS 6.2% (higher than 94% of CVEs)Published 2025-01-15Updated 2026-11-23Assigner: redhat

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.

CWE-122

What to do

Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

15Fixed
7Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04rsyncFixed3.2.7-1ubuntu1.1UBUNTU-CVE-2024-12084
Ubuntu 22.04rsyncFixed3.2.7-0ubuntu0.22.04.3UBUNTU-CVE-2024-12084
Debian 14rsyncFixed3.3.0+ds1-3DEBIAN-CVE-2024-12084
Debian 13rsyncFixed3.3.0+ds1-3DEBIAN-CVE-2024-12084
Debian 12rsyncFixed3.2.7-1+deb12u1DEBIAN-CVE-2024-12084
Red Hat Enterprise Linux 10rsyncFixed0:3.4.1-2.el10RHBA-2025:6470
Red Hat Enterprise Linux 10rsync-daemonFixed0:3.4.1-2.el10RHBA-2025:6470
Red Hat Enterprise Linux 10rsync-rrsyncFixed0:3.4.1-2.el10RHBA-2025:6470
Red Hat Enterprise Linux 9rsyncNot affected
Red Hat Enterprise Linux 9rsync-daemonNot affected
Red Hat Enterprise Linux 9rsync-rrsyncNot affected
Red Hat Enterprise Linux 8rsyncNot affected
Red Hat Enterprise Linux 8rsync-daemonNot affected
Red Hat Enterprise Linux 7rsyncNot affected
Red Hat Enterprise Linux 6rsyncNot affected
Alpine Linux 3.24rsyncFixed3.4.0-r0ALPINE-CVE-2024-12084
Alpine Linux 3.23rsyncFixed3.4.0-r0ALPINE-CVE-2024-12084
Alpine Linux 3.22rsyncFixed3.4.0-r0ALPINE-CVE-2024-12084
Alpine Linux 3.21rsyncFixed3.4.0-r0ALPINE-CVE-2024-12084
Alpine Linux 3.20rsyncFixed3.4.0-r0ALPINE-CVE-2024-12084
Alpine Linux 3.19rsyncFixed3.4.0-r0ALPINE-CVE-2024-12084
Alpine Linux 3.18rsyncFixed3.4.0-r0ALPINE-CVE-2024-12084

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: 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.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.