Bug 2330527 (CVE-2024-12084)

Summary: CVE-2024-12084 rsync: Heap Buffer Overflow in Rsync due to Improper Checksum Length Handling
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: unspecifiedCC: chorn, pbuchan, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2337964, 2337961, 2337962, 2337963    
Bug Blocks:    
Deadline: 2025-01-14   

Description OSIDB Bzimport 2024-12-05 10:02:12 UTC
The vulnerability arises because the checksum length (s2length) is derived from an unvalidated protocol input (MAX_DIGEST_LEN), which can exceed the size of the pre-allocated buffer (SUM_LENGTH), allowing attackers to exploit this behavior.