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.
01
describes (4)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2024-12088US | high7.5 | — | ||
A flaw was found in rsync. When using the `--safe-links` option, the rsync client fails to properly verify if a symbolic link destination sent from the server contains another symb… | ||||
| CVE-2024-12087US | high7.5 | — | ||
A path traversal vulnerability exists in rsync. It stems from behavior enabled by the `--inc-recursive` option, a default-enabled option for many client options and can be enabled… | ||||
| CVE-2024-12086US | medium6.8 | — | ||
A flaw was found in rsync. It could allow a server to enumerate the contents of an arbitrary file from the client's machine. This issue occurs when files are being copied from a cl… | ||||
| CVE-2024-12085US | — | Exploit | ||
A flaw was found in rsync which could be triggered when rsync compares file checksums. This flaw allows an attacker to manipulate the checksum length (s2length) to cause a comparis… | ||||
02
references
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2025/01/14/6WEB
- https://access.redhat.com/downloads/content/package-browser/WEB
- https://access.redhat.com/errata/RHBA-2025:6470ADVISORY
- https://access.redhat.com/security/cve/CVE-2024-12084ADVISORY
- https://bugzilla.redhat.com/show_bug.cgi?id=2330527REPORT
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/12xxx/CVE-2024-12084.jsonADVISORY
- https://github.com/RsyncProject/rsyncPACKAGE
- https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqjEVIDENCE
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan