CVE-2024-12084 Rsync: heap buffer overflow in rsync due to improper checksum length handling
CriticalCVSS 9.8
EPSS 72.5%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
25 packages: 17 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| archlinux arch linux | All versions | No fix listed | No fix yet |
| gentoo linux | All versions | No fix listed | No fix yet |
| novell suse linux | All versions | No fix listed | No fix yet |
| alpine/rsync(Alpine v3.18) | < 3.4.0-r0 | 3.4.0-r0 | Fixed |
| alpine/rsync(Alpine v3.19) | < 3.4.0-r0 | 3.4.0-r0 | Fixed |
| alpine/rsync(Alpine v3.20) | < 3.4.0-r0 | 3.4.0-r0 | Fixed |
| alpine/rsync(Alpine v3.21) | < 3.4.0-r0 | 3.4.0-r0 | Fixed |
| alpine/rsync(Alpine v3.22) | < 3.4.0-r0 | 3.4.0-r0 | Fixed |
| alpine/rsync(Alpine v3.23) | < 3.4.0-r0 | 3.4.0-r0 | Fixed |
| alpine/rsync(Alpine v3.24) | < 3.4.0-r0 | 3.4.0-r0 | Fixed |
| azure linux rsync(Azure Linux 3.0) | < 3.4.1-1 | 3.4.1-1 | Fixed |
| cbl-mariner rsync(CBL-Mariner 2.0) | < 3.4.1-1 | 3.4.1-1 | Fixed |
| debian/rsync(Debian 12) | < 3.2.7-1+deb12u1; = 3.2.7-1 | 3.2.7-1+deb12u1 | Fixed |
| debian/rsync(Debian 13) | < 3.3.0+ds1-3 | 3.3.0+ds1-3 | Fixed |
| debian/rsync(Debian 14) | < 3.3.0+ds1-3 | 3.3.0+ds1-3 | Fixed |
| nixos | < 24.11; = 24.11 | 24.11 | Fixed |
| redhat enterprise linux | < 0:3.4.1-2.el10; = 8; = 9; = 10.0 | 0:3.4.1-2.el10 | Fixed |
| tritondatacenter smartos | < 20250123 | 20250123 | Fixed |
| ubuntu/rsync(Ubuntu 22.04) | < 3.2.7-0ubuntu0.22.04.3; = 3.2.3-4ubuntu1; = 3.2.3-4ubuntu2; = 3.2.3-8ubuntu1 +4 more | 3.2.7-0ubuntu0.22.04.3 | Fixed |
| ubuntu/rsync(Ubuntu 24.04) | < 3.2.7-1ubuntu1.1; = 3.2.7-1; = 3.2.7-1build1; = 3.2.7-1build2 +1 more | 3.2.7-1ubuntu1.1 | Fixed |
| almalinux | = 10.0 | No fix listed | Versions listed |
| redhat openshift | = 4 | No fix listed | Versions listed |
| redhat rhel els | = 6; = 7 | No fix listed | Versions listed |
| rsync | = 3.2.7; = 3.3.0 | No fix listed | Versions listed |
| Samba rsync | = 3.2.7; = 3.3.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cbl-mariner rsync(CBL-Mariner:2.0) | < 3.4.1-1 | 3.4.1-1 |
| azure linux rsync(Azure Linux:3.0) | < 3.4.1-1 | 3.4.1-1 |
| debian/rsync(Debian:12) | < 3.2.7-1+deb12u1 | 3.2.7-1+deb12u1 |
| debian/rsync(Debian:12) | = 3.2.7-1 | No fix listed |
| debian/rsync(Debian:13) | < 3.3.0+ds1-3 | 3.3.0+ds1-3 |
| debian/rsync(Debian:14) | < 3.3.0+ds1-3 | 3.3.0+ds1-3 |
| ubuntu/rsync(Ubuntu:22.04) | < 3.2.7-0ubuntu0.22.04.3 | 3.2.7-0ubuntu0.22.04.3 |
| rsync | = 3.2.7 | No fix listed |
| rsync | = 3.3.0 | No fix listed |
| redhat enterprise linux | < 0:3.4.1-2.el10 | 0:3.4.1-2.el10 |
| redhat rhel els | = 6 | No fix listed |
| redhat rhel els | = 7 | No fix listed |
| redhat enterprise linux | = 8 | No fix listed |
| redhat enterprise linux | = 9 | No fix listed |
| redhat openshift | = 4 | No fix listed |
| alpine/rsync(Alpine:v3.18) | < 3.4.0-r0 | 3.4.0-r0 |
| alpine/rsync(Alpine:v3.19) | < 3.4.0-r0 | 3.4.0-r0 |
| alpine/rsync(Alpine:v3.20) | < 3.4.0-r0 | 3.4.0-r0 |
| alpine/rsync(Alpine:v3.21) | < 3.4.0-r0 | 3.4.0-r0 |
| alpine/rsync(Alpine:v3.22) | < 3.4.0-r0 | 3.4.0-r0 |
| alpine/rsync(Alpine:v3.23) | < 3.4.0-r0 | 3.4.0-r0 |
| alpine/rsync(Alpine:v3.24) | < 3.4.0-r0 | 3.4.0-r0 |
| ubuntu/rsync(Ubuntu:24.04) | < 3.2.7-1ubuntu1.1 | 3.2.7-1ubuntu1.1 |
| Samba rsync | = 3.2.7 | No fix listed |
| Samba rsync | = 3.3.0 | No fix listed |
Show 19 more
| Product | Affected versions | Fixed in |
|---|---|---|
| almalinux | = 10.0 | No fix listed |
| archlinux arch linux | All versions | No fix listed |
| gentoo linux | All versions | No fix listed |
| nixos | < 24.11 | 24.11 |
| nixos | = 24.11 | No fix listed |
| novell suse linux | All versions | No fix listed |
| tritondatacenter smartos | < 20250123 | 20250123 |
| redhat enterprise linux | = 10.0 | No fix listed |
| ubuntu/rsync(Ubuntu:22.04) | = 3.2.3-4ubuntu1 | No fix listed |
| ubuntu/rsync(Ubuntu:22.04) | = 3.2.3-4ubuntu2 | No fix listed |
| ubuntu/rsync(Ubuntu:22.04) | = 3.2.3-8ubuntu1 | No fix listed |
| ubuntu/rsync(Ubuntu:22.04) | = 3.2.3-8ubuntu2 | No fix listed |
| ubuntu/rsync(Ubuntu:22.04) | = 3.2.3-8ubuntu3 | No fix listed |
| ubuntu/rsync(Ubuntu:22.04) | = 3.2.3-8ubuntu3.1 | No fix listed |
| ubuntu/rsync(Ubuntu:22.04) | = 3.2.7-0ubuntu0.22.04.2 | No fix listed |
| ubuntu/rsync(Ubuntu:24.04) | = 3.2.7-1 | No fix listed |
| ubuntu/rsync(Ubuntu:24.04) | = 3.2.7-1build1 | No fix listed |
| ubuntu/rsync(Ubuntu:24.04) | = 3.2.7-1build2 | No fix listed |
| ubuntu/rsync(Ubuntu:24.04) | = 3.2.7-1ubuntu1 | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Debian Security Tracker CVE-2024-12084 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-7206-1 vendor-advisory
- USN-7206-3 vendor-advisory
- www.cve.org issue-tracking
- RHBA-2025:6470 vendor-advisory
- access.redhat.com third-party-advisory vdb-entry
- RHBZ#2330527 issue-tracking third-party-advisory
- kb.cert.org third-party-advisory
- github.com exploit vendor-advisory
- www.openwall.com mailing-list third-party-advisory
- security.netapp.com
- www.kb.cert.org
- security.alpinelinux.org vendor-advisory
- GitLab Patch Release: 18.1.2, 18.0.4, 17.11.6 vendor-advisory
- kb.cert.org issue-tracking
- github.com issue-tracking
- github.com issue-tracking
- ENISA EUVD EUVD-2024-50580 third-party-advisory