CVE-2024-12084 Details
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.
A heap-based buffer overflow vulnerability has been identified in the Rsync daemon, specifically in versions 3.2.7 and 3.3.0. This vulnerability arises from improper handling of attacker-controlled checksum lengths, which can lead to out-of-bounds writes in the checksum buffer. When the maximum digest length exceeds a fixed limit of 16 bytes, an attacker can exploit this flaw to overwrite memory, potentially leading to arbitrary code execution.
Users are advised to update to Rsync version 3.4.0 or later, where this vulnerability has been patched. For systems that provide anonymous read access via Rsync, such as public mirror hosts, there are no reasonable mitigation options available.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 27, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj | CISA-ADP | ExploitVendor Advisory |
| https://security.netapp.com/advisory/ntap-20250131-0002/ | CVE | |
| https://www.kb.cert.org/vuls/id/952657 | CVE | |
| http://www.openwall.com/lists/oss-security/2025/01/14/6 | CVE | Mailing ListThird Party Advisory |
| https://access.redhat.com/errata/RHBA-2025:6470 | [email protected] | |
| https://access.redhat.com/security/cve/CVE-2024-12084 | [email protected] | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2330527 | [email protected] | Issue TrackingThird Party Advisory |
| https://kb.cert.org/vuls/id/952657 | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
| CWE-122 | Heap-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| samba rsync | 3.2.7 - 3.3.0 - |
CPE
Remediation
| |
| almalinux almalinux | 10.0 - |
CPE
Remediation
| |
| archlinux arch linux | All versions |
CPE
Remediation
| |
| gentoo linux | All versions |
CPE
Remediation
| |
| nixos nixos | < 24.11 24.11 |
CPE
Remediation
| |
| novell suse linux | All versions |
CPE
Remediation
| |
| tritondatacenter smartos | < 20250123 |
CPE
Remediation
| |
| redhat enterprise linux | 10.0 |
CPE
Remediation
| |
Change History
15 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 4, 2026 | CVE Modified | [email protected] |
| Oct 21, 2026 | CVE Modified | CISA-ADP |
| Oct 21, 2026 | CVE Modified | CVE |
| Oct 21, 2026 | CVE Modified | [email protected] |
| Jun 29, 2026 | CVE Modified | [email protected] |
| Jun 25, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| Nov 3, 2025 | CVE Modified | CVE |
| Jul 8, 2025 | CVE Modified | [email protected] |
| Jun 18, 2025 | Initial Analysis | [email protected] |
| Feb 26, 2025 | CVE Modified | CISA-ADP |
| Jan 15, 2025 | New CVE Received | [email protected] |
| Jan 15, 2025 | CVE Modified | CVE |