Skip to content
OpenAdvisories

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 products

VendorProductAffectedFixed
— rsync 3.2.7, 3.3.0 —
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat OpenShift Container Platform 4 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rsync 3.3.0+ds1-3 —
Debian 13 rsync 3.3.0+ds1-3 —
Debian 12 rsync 3.2.7-1+deb12u1 DSA-5843-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS rsync 3.2.7-1ubuntu1.1 USN-7206-1
Ubuntu 22.04 LTS rsync 3.2.7-0ubuntu0.22.04.3 USN-7206-1
Ubuntu 20.04 LTS rsync 3.1.3-8ubuntu0.8 USN-7206-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS rsync 3.1.2-2.1ubuntu1.6+esm1 USN-7206-1
Ubuntu Pro 16.04 LTS rsync 3.1.1-3ubuntu1.3+esm3 USN-7206-1
Ubuntu Pro 14.04 LTS rsync 3.1.0-2ubuntu0.4+esm1 USN-7206-1
ReleasePackageFixed inAdvisory
RHEL 10 rsync +2 3.4.1-2.el10 RHBA-2025:6470
ReleasePackageFixed inAdvisory
SLES 15 SP6 rsync 3.2.7-150600.3.8.1 SUSE-SU-2025:0156-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLE Micro 6.1 rsync 3.3.0-slfo.1.1_3.1 SUSE-SU-2025:20223-1
SLE Micro 6.0 rsync 3.2.7-4.1 SUSE-SU-2025:20122-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed rsync 3.4.1-1.1 openSUSE-SU-2025:14665-1
openSUSE Leap 15.6 rsync 3.2.7-150600.3.8.1 SUSE-SU-2025:0156-1
ReleasePackageFixed inAdvisory
Alpine v3.24 rsync 3.4.0-r0 —
Alpine v3.23 rsync 3.4.0-r0 —
Alpine v3.22 rsync 3.4.0-r0 —
Alpine v3.21 rsync 3.4.0-r0 —
Alpine v3.20 rsync 3.4.0-r0 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 rsync 3.4.0-r0 —
Alpine v3.18 rsync 3.4.0-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 rsync 3.4.1-1 —
Azure Linux 2 (CBL-Mariner) rsync 3.4.1-1 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 3 repositories

  • themirze/cve-2024-12084 ★ 4 · Jan 21, 2025
  • InkeyP/CVE-2024-12084 ★ 1 · Nov 24, 2025

    A easy poc for CVE-2024-12084.

  • rxerium/CVE-2024-12084 ★ 1 · Jan 29, 2025

    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…

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 12

References