CVE-2022-32746Use After Free in Samba

CWE-416Use After Free8 documents7 sources
Severity
5.4MEDIUMNVD
OSV6.5
EPSS
0.3%
top 43.34%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedAug 25
Latest updateAug 26

Description

A flaw was found in the Samba AD LDAP server. The AD DC database audit logging module can access LDAP message values freed by a preceding database module, resulting in a use-after-free issue. This issue is only possible when modifying certain privileged attributes, such as userAccountControl.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:LExploitability: 2.8 | Impact: 2.5

Affected Packages9 packages

NVDsamba/samba4.3.04.14.14+2
debiandebian/samba< samba 2:4.16.4+dfsg-1 (bookworm)
Debiansamba/samba< 2:4.13.13+dfsg-1~deb11u5+3
Ubuntusamba/samba< 2:4.13.17~dfsg-0ubuntu1.20.04.1+1
CVEListV5samba/sambaVersions prior to samba 4.16.4, samba 4.15.9, samba 4.14.14

Patches

🔴Vulnerability Details

3
GHSA
GHSA-hv8p-prvv-v646: A flaw was found in the Samba AD LDAP server2022-08-26
OSV
CVE-2022-32746: A flaw was found in the Samba AD LDAP server2022-08-25
OSV
samba vulnerabilities2022-08-01

📋Vendor Advisories

4
Microsoft
A flaw was found in the Samba AD LDAP server. The AD DC database audit logging module can access LDAP message values freed by a preceding database module resulting in a use-after-free issue. This issu2022-08-09
Ubuntu
Samba vulnerabilities2022-08-01
Red Hat
samba: AD users can induce a use-after-free in the server process with an LDAP add or modify request2022-07-27
Debian
CVE-2022-32746: samba - A flaw was found in the Samba AD LDAP server. The AD DC database audit logging m...2022