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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | ldb-tools | 2.5.2-2.el8 | ALSA-2022:7730 |
| AlmaLinux:9 | ldb-tools | 2.5.2-1.el9 | ALSA-2022:8318 |
| AlmaLinux:8 | libldb | 2.5.2-2.el8 | ALSA-2022:7730 |
| AlmaLinux:9 | libldb | 2.5.2-1.el9 | ALSA-2022:8318 |
| AlmaLinux:8 | libldb-devel | 2.5.2-2.el8 | ALSA-2022:7730 |
| AlmaLinux:9 | libldb-devel | 2.5.2-1.el9 | ALSA-2022:8318 |
| AlmaLinux:8 | python-ldb-devel-common | 2.5.2-2.el8 | ALSA-2022:7730 |
| AlmaLinux:8 | python3-ldb | 2.5.2-2.el8 | ALSA-2022:7730 |
| AlmaLinux:9 | python3-ldb | 2.5.2-1.el9 | ALSA-2022:8318 |
| AlmaLinux:8 | python3-ldb-devel | 2.5.2-2.el8 | ALSA-2022:7730 |
| Alpine:v3.20 | samba | 4.15.9-r0 | ALPINE-CVE-2022-32746 |
| Alpine:v3.21 | samba | 4.15.9-r0 | ALPINE-CVE-2022-32746 |
| Alpine:v3.22 | samba | 4.15.9-r0 | ALPINE-CVE-2022-32746 |
| Alpine:v3.23 | samba | 4.15.9-r0 | ALPINE-CVE-2022-32746 |
| Alpine:v3.24 | samba | 4.15.9-r0 | ALPINE-CVE-2022-32746 |
| Debian:12 | samba | 2:4.16.4+dfsg-1 | DEBIAN-CVE-2022-32746 |
| Debian:13 | samba | 2:4.16.4+dfsg-1 | DEBIAN-CVE-2022-32746 |
| Debian:14 | samba | 2:4.16.4+dfsg-1 | DEBIAN-CVE-2022-32746 |
| Rocky Linux:8 | libldb | 0:2.5.2-2.el8 | RLSA-2022:7730 |
| Rocky Linux:9 | libldb | 0:2.5.2-1.el9 | RLSA-2022:8318 |
| Ubuntu:22.04:LTS | ldb | 2:2.4.4-0ubuntu0.1 | UBUNTU-CVE-2022-32746 |
| Ubuntu:22.04:LTS | samba | 2:4.15.9+dfsg-0ubuntu0.2 | USN-5542-1 |
| Ubuntu:22.04:LTS | samba | 2:4.15.9+dfsg-0ubuntu0.2 | UBUNTU-CVE-2022-32746 |
Affected products (as reported)
Weakness: CWE-416