Heap-based Buffer Overflow Vulnerability in Rsync Daemon by Red Hat
CVE-2024-12084
Key Information:
- Vendor
- Red Hat
- Status
- Vendor
- CVE Published:
- 15 January 2025
Badges
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
-
Unauthorized Access: Exploiting this vulnerability could permit attackers to gain unauthorized access to systems running the rsync daemon, compromising sensitive data and resources.
-
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.
-
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.
Get notified when SecurityVulnerability.io launches alerting 🔔
Well keep you posted 📧
News Articles
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.
4 days ago
Severe Rsync vulnerabilities — CVSS 9.8 — risk RCE, data leaks
The critical and high severity flaws were discovered by Google Cloud researchers.
5 days ago
Over 660,000 Rsync servers exposed to code execution attacks
Over 660,000 exposed Rsync servers are potentially vulnerable to six new vulnerabilities, including a critical-severity heap-buffer overflow flaw that allows remote code execution on servers.
5 days ago
References
CVSS V3.1
Timeline
- 📈
Vulnerability started trending
- 👾
Exploit known to exist
- 📰
First article discovered by Habr
Vulnerability published
Vulnerability Reserved