CVE-2022-32746

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

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
samba (PTS)jessie, jessie (lts)2:4.2.14+dfsg-0+deb8u16vulnerable
stretch (security)2:4.5.16+dfsg-1+deb9u4vulnerable
stretch (lts), stretch2:4.5.16+dfsg-1+deb9u5vulnerable
buster (security), buster, buster (lts)2:4.9.5+dfsg-5+deb10u5vulnerable
bullseye (security), bullseye2:4.13.13+dfsg-1~deb11u6fixed
bookworm (security), bookworm2:4.17.12+dfsg-0+deb12u1fixed
sid, trixie2:4.21.1+dfsg-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
sambasourcebullseye2:4.13.13+dfsg-1~deb11u5DSA-5205-1
sambasource(unstable)2:4.16.4+dfsg-11016449

Notes

[buster] - samba <ignored> (Minor issue; affects Samba as AD DC; EOLed. See DSA-5015-1)
https://www.samba.org/samba/security/CVE-2022-32746.html
[stretch] - samba <ignored> (Minor issue; affects Samba as AD DC; EOLed)
[jessie] - samba <ignored> (Minor issue; affects Samba as AD DC; EOLed)

Search for package or bug name: Reporting problems