Vulnerability · Published Aug 25, 2022 · Assigned by redhat

CVE-2022-32746

Medium 5.4

In plain English

A medium-severity use-after-free in samba. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.4Medium
Exploit odds (30 days)1.3%top 29.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8ldb-tools2.5.2-2.el8ALSA-2022:7730
AlmaLinux:9ldb-tools2.5.2-1.el9ALSA-2022:8318
AlmaLinux:8libldb2.5.2-2.el8ALSA-2022:7730
AlmaLinux:9libldb2.5.2-1.el9ALSA-2022:8318
AlmaLinux:8libldb-devel2.5.2-2.el8ALSA-2022:7730
AlmaLinux:9libldb-devel2.5.2-1.el9ALSA-2022:8318
AlmaLinux:8python-ldb-devel-common2.5.2-2.el8ALSA-2022:7730
AlmaLinux:8python3-ldb2.5.2-2.el8ALSA-2022:7730
AlmaLinux:9python3-ldb2.5.2-1.el9ALSA-2022:8318
AlmaLinux:8python3-ldb-devel2.5.2-2.el8ALSA-2022:7730
Alpine:v3.20samba4.15.9-r0ALPINE-CVE-2022-32746
Alpine:v3.21samba4.15.9-r0ALPINE-CVE-2022-32746
Alpine:v3.22samba4.15.9-r0ALPINE-CVE-2022-32746
Alpine:v3.23samba4.15.9-r0ALPINE-CVE-2022-32746
Alpine:v3.24samba4.15.9-r0ALPINE-CVE-2022-32746
Debian:12samba2:4.16.4+dfsg-1DEBIAN-CVE-2022-32746
Debian:13samba2:4.16.4+dfsg-1DEBIAN-CVE-2022-32746
Debian:14samba2:4.16.4+dfsg-1DEBIAN-CVE-2022-32746
Rocky Linux:8libldb0:2.5.2-2.el8RLSA-2022:7730
Rocky Linux:9libldb0:2.5.2-1.el9RLSA-2022:8318
Ubuntu:22.04:LTSldb2:2.4.4-0ubuntu0.1UBUNTU-CVE-2022-32746
Ubuntu:22.04:LTSsamba2:4.15.9+dfsg-0ubuntu0.2USN-5542-1
Ubuntu:22.04:LTSsamba2:4.15.9+dfsg-0ubuntu0.2UBUNTU-CVE-2022-32746

Affected products (as reported)

VendorProductVersions
n/a samba Versions prior to samba 4.16.4, samba 4.15.9, samba 4.14.14

Weakness: CWE-416

References