Heap-based Buffer Overflow Vulnerability in Rsync Daemon
CVE-2024-12084

9.8CRITICAL

Key Information:

Vendor
CVE Published:
15 January 2025

Badges

🥇 Trended No. 1📈 Trended📈 Score: 6,130👾 Exploit Exists🟡 Public PoC📰 News Worthy

Key facts: CVE-2024-12084 is a critical severity (CVSS 9.8) vulnerability in and Red Hat Enterprise Linux 10. It is known to be exploited in the wild. 2 public proof-of-concept exploits are available. Its EPSS score is 6.1%, the estimated probability of exploitation in the next 30 days.

What is CVE-2024-12084?

CVE-2024-12084 refers to a heap-based buffer overflow vulnerability identified in the rsync daemon developed by Red Hat. Rsync is a widely used utility in UNIX-like systems for efficiently transferring and synchronizing files between a computer and a storage device. This vulnerability arises from improper handling of attacker-controlled checksum lengths, which can enable malicious actors to write beyond the designated buffer limits. The exploitation of this flaw can lead to serious security breaches, impacting the integrity and availability of organizational systems that rely on rsync for file synchronization and backup purposes.

Technical Details

The vulnerability is rooted in the handling of checksum lengths (specifically, s2length) within the rsync daemon's code. When the variable MAX_DIGEST_LEN exceeds a predetermined fixed limit of SUM_LENGTH, which is set at 16 bytes, it allows attackers to write to out-of-bounds memory areas in the sum2 buffer. This improper management of memory could potentially enable an attacker to manipulate the program's execution sequence, leading to unauthorized access or arbitrary code execution under certain conditions.

Potential Impact of CVE-2024-12084

  1. Unauthorized Access: Exploiting this vulnerability could permit attackers to gain unauthorized access to systems running the rsync daemon, compromising sensitive data and resources.

  2. Remote Code Execution: The buffer overflow may enable attackers to execute arbitrary code on the affected systems, potentially allowing them to take complete control over the server environment.

  3. Disruption of Services: This vulnerability can lead to instability in the rsync service, causing outages or degraded performance. Organizations relying on rsync for critical file transfers and backups may face operational risks as a result.

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

News Articles

Multiple Vulnerabilities in Rsync Could be Combined to Achieve RCE | Arctic Wolf

CERT Coordination Center published a security advisory detailing multiple vulnerabilities impacting Rsync. The most severe vulnerability is CVE-2024-12084, a critical severity heap buffer overflow vulnerability in the Rsync daemon which can lead to out-of-bounds writes in the buffer.

Severe Rsync vulnerabilities — CVSS 9.8 — risk RCE, data leaks

The critical and high severity flaws were discovered by Google Cloud researchers.

File sync tool rsync is vulnerable, 660,000 servers exposed

rsync is safe if provided with the latest patch. In fact, the old tool contains six vulnerabilities in an earlier version.

References

  • CVE-2026-129114: Heap Buffer Overflow in JSON::XS for Perl(CRITICAL)
  • CVE-2026-121265: SQL Injection Vulnerability in SQL::Abstract for Perl(CRITICAL)
  • CVE-2026-120637: CGI Vulnerability in Perl Affects Multiple Versions(CRITICAL)
  • CVE-2026-74759: Server Side Request Forgery in Google::Auth for Perl(CRITICAL)
  • CVE-2026-107935: Path Traversal Vulnerability in gvisor-tap-vsock by Red Hat(CRITICAL)
  • CVE-2026-102578: SQL Injection Vulnerability in Moodle by Moodle(MEDIUM)
  • CVE-2026-8933: Local Privilege Escalation Vulnerability in Canonical Snapd(HIGH)
  • CVE-2026-4631: Remote Code Execution Vulnerability in Cockpit Web Service by Red Hat(CRITICAL)
Browse all analysed vulnerabilities ›

EPSS Score

6% chance of being exploited in the next 30 days.

CVSS V3.1

Score:
9.8
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • 🟡

    Public PoC available

  • 🥇

    Vulnerability reached the number 1 worldwide trending spot

  • 📈

    Vulnerability started trending

  • 👾

    Exploit known to exist

  • 📰

    First article discovered by Habr

  • Vulnerability published

  • Vulnerability Reserved

Credit

Red Hat would like to thank Jasiel Spelman (Google), Pedro Gallegos (Google), and Simon Scannell (Google) for reporting this issue.
.