CVE-2024-12084

NameCVE-2024-12084
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-5843-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
rsync (PTS)bullseye3.2.3-4+deb11u1fixed
bullseye (security)3.2.3-4+deb11u3fixed
bookworm3.2.7-1vulnerable
bookworm (security)3.2.7-1+deb12u2fixed
sid, trixie3.3.0+ds1-4fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
rsyncsourcebullseye(not affected)
rsyncsourcebookworm3.2.7-1+deb12u1DSA-5843-1
rsyncsource(unstable)3.3.0+ds1-3

Notes

[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

Search for package or bug name: Reporting problems