| Name | CVE-2024-12084 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-5843-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| rsync (PTS) | bullseye | 3.2.3-4+deb11u1 | fixed |
| bullseye (security) | 3.2.3-4+deb11u3 | fixed | |
| bookworm, bookworm (security) | 3.2.7-1+deb12u2 | fixed | |
| trixie | 3.4.1+ds1-5 | fixed | |
| forky, sid | 3.4.1+ds1-6 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| rsync | source | bullseye | (not affected) | |||
| rsync | source | bookworm | 3.2.7-1+deb12u1 | DSA-5843-1 | ||
| rsync | source | (unstable) | 3.3.0+ds1-3 |
[bullseye] - rsync <not-affected> (Vulnerable code introduced later)
Fixed by: https://git.samba.org/?p=rsync.git;a=commit;h=0902b52f6687b1f7952422080d50b93108742e53 (v3.4.0)
Fixed by: https://git.samba.org/?p=rsync.git;a=commit;h=42e2b56c4ede3ab164f9a5c6dae02aa84606a6c1 (v3.4.0)
https://www.openwall.com/lists/oss-security/2025/01/14/3
https://phrack.org/issues/72/11_md#article