Bug 2108211 (CVE-2022-32745)

Summary: CVE-2022-32745 samba: AD users can crash the server process with an LDAP add or modify request
Product: [Other] Security Response Reporter: Mauro Matteo Cascella <mcascell>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abokovoy, anoopcs, asn, dkarpele, gdeschner, iboukris, jarrpa, jstephen, lmohanty, madam, pfilipen, rhs-smb, sbose, security-response-team, ssorce
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: samba 4.16.4, samba 4.15.9, samba 4.14.14 Doc Type: ---
Doc Text:
A flaw was found in Samba. Samba AD users can cause the server to access uninitialized data with an LDAP add or modify the request, usually resulting in a segmentation fault.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-30 15:35:10 UTC 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: 2111732    
Bug Blocks: 2095310, 2095313    

Description Mauro Matteo Cascella 2022-07-18 15:29:05 UTC
As per samba upstream advisory:

Due to incorrect values used as the limit for a loop and as the 'count' parameter to memcpy(), the server, receiving a specially crafted message, leaves an array of structures partially uninitialized, or accesses an arbitrary element beyond the end of an array.

Outcomes achievable by an attacker include segmentation faults and corresponding loss of availability. Depending on the contents of the uninitialized memory, confidentiality may also be affected.

Comment 1 Sandipan Roy 2022-07-28 04:09:08 UTC
Created samba tracking bugs for this issue:

Affects: fedora-all [bug 2111732]

Comment 2 Product Security DevOps Team 2022-08-30 15:35:08 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-32745