CVE-2024-12084
Rsync: heap buffer overflow in rsync due to improper checksum length handling
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.
Fixes and workarounds
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.
Source: CNA: redhatFix
Rsync (debian): GitHub reports patched versions 3.4.0. Check the advisory for the affected release branch.
Source: GitHub GHSA-p5pg-x43v-mvqjAffected products and versions
| Product | Versions | Authority |
|---|---|---|
rsync
https://github.com/RsyncProject/rsync |
3.2.7 (affected) 3.3.0 (affected) Other versions: unaffected |
CNA: redhat |
| Red Hat Enterprise Linux 10 Red Hat rsync
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:3.4.1-2.el10; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 6 Red Hat rsync
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: unaffected |
CNA: redhat |
| Red Hat Enterprise Linux 7 Red Hat rsync
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: unaffected |
CNA: redhat |
| Red Hat Enterprise Linux 8 Red Hat rsync
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: unaffected |
CNA: redhat |
| Red Hat Enterprise Linux 9 Red Hat rsync
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: unaffected |
CNA: redhat |
| Red Hat OpenShift Container Platform 4 Red Hat openshift/ose-rhel-coreos-8
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: unaffected |
CNA: redhat |
| Red Hat OpenShift Container Platform 4 Red Hat openshift/ose-rhel-coreos-9
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: unaffected |
CNA: redhat |
RsyncRsync
debian |
3.2.7 (affected, GitHub advisory range) | GitHub GHSA-p5pg-x43v-mvqj |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
NVD applicability configurations (8)
These expressions retain AND/OR operators, negation, and required environmental products. A listed product is not sufficient to establish exposure when additional conditions apply.
[
{
"negate": false,
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:samba:rsync:3.2.7:-:*:*:*:*:*:*",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:samba:rsync:3.3.0:-:*:*:*:*:*:*",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "OR"
},
{
"negate": false,
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:almalinux:almalinux:10.0:-:*:*:*:*:*:*",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "OR"
},
{
"negate": false,
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:archlinux:arch_linux:-:*:*:*:*:*:*:*",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "OR"
},
{
"negate": false,
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:gentoo:linux:-:*:*:*:*:*:*:*",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "OR"
},
{
"negate": false,
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:nixos:nixos:*:*:*:*:*:*:*:*",
"versionEndExcluding": "24.11",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:nixos:nixos:24.11:*:*:*:*:*:*:*",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "OR"
},
{
"negate": false,
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:novell:suse_linux:-:*:*:*:*:*:*:*",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "OR"
},
{
"negate": false,
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:tritondatacenter:smartos:*:*:*:*:*:*:*:*",
"versionEndExcluding": "20250123",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "OR"
},
{
"negate": false,
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "OR"
}
]CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 9.8 critical |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CNA: redhat |
| 3.1 / 9.8 critical |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD: [email protected] |
Exploit evidence
- https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj
exploit · ADP: CISA-ADP - https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj
exploit · 134c704f-9b21-4f2e-91b3-4a467353bcc0
References
- https://access.redhat.com/errata/RHBA-2025:6470CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-12084CNA: redhat · vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2330527CNA: redhat · issue-tracking, x_refsource_REDHAT
- https://kb.cert.org/vuls/id/952657CNA: redhat
- https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqjADP: CISA-ADP · exploit
- http://www.openwall.com/lists/oss-security/2025/01/14/6ADP: CVE
- https://security.netapp.com/advisory/ntap-20250131-0002/ADP: CVE
- https://www.kb.cert.org/vuls/id/952657ADP: CVE
- 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 Tracking, Third Party Advisory
- https://kb.cert.org/vuls/id/952657[email protected] · Third Party Advisory
- http://www.openwall.com/lists/oss-security/2025/01/14/6af854a3a-2127-422b-91ae-364da2661108 · Mailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20250131-0002/af854a3a-2127-422b-91ae-364da2661108
- https://www.kb.cert.org/vuls/id/952657af854a3a-2127-422b-91ae-364da2661108
- https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj134c704f-9b21-4f2e-91b3-4a467353bcc0 · Exploit, Vendor Advisory
- https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqjGitHub Security Advisories · advisory
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.