Skip to content
OpenAdvisories
Unscored CVE-2022-32746 EUVD-2022-35812GHSA-hv8p-prvv-v646

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 d…

Published Aug 25, 2022 · Updated Aug 3, 2024 · Assigned by redhat

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 products

VendorProductAffectedFixed
— samba Versions prior to samba 4.16.4, samba 4.15.9, samba 4.14.14 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 samba 2:4.16.4+dfsg-1 —
Debian 13 samba 2:4.16.4+dfsg-1 —
Debian 12 samba 2:4.16.4+dfsg-1 —
Debian 11 samba 2:4.13.13+dfsg-1~deb11u5 DSA-5205-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS ldb 2:2.4.4-0ubuntu0.1 —
Ubuntu 22.04 LTS samba 2:4.15.9+dfsg-0ubuntu0.2 USN-5542-1
Ubuntu 20.04 LTS ldb 2:2.2.3-0ubuntu0.20.04.3 —
Ubuntu 20.04 LTS samba 2:4.13.17~dfsg-0ubuntu1.20.04.1 USN-5542-1
Ubuntu 18.04 LTS ldb No fix yet —
Ubuntu 16.04 LTS ldb No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS samba No fix yet —
Ubuntu Pro 16.04 LTS samba No fix yet —
Ubuntu Pro 14.04 LTS ldb +1 No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 libldb +3 2.5.2-1.el9 RHSA-2022:8318
RHEL 8 libldb +5 2.5.2-2.el8 RHSA-2022:7730

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 libldb +3 2.5.2-1.el9 ALSA-2022:8318
AlmaLinux 8 libldb +5 2.5.2-2.el8 ALSA-2022:7730

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 libldb 2.5.2-1.el9 RLSA-2022:8318
Rocky Linux 8 libldb 2.5.2-2.el8 RLSA-2022:7730
ReleasePackageFixed inAdvisory
SLES 15 SP4 ldb 2.4.3-150400.4.8.1 SUSE-SU-2023:1689-1, SUSE-SU-2022:2659-1
SLES 15 SP4 samba 4.15.8+git.500.d5910280cc7-150400.3.11.1 SUSE-SU-2023:1689-1, SUSE-SU-2023:0160-1, SUSE-SU-2022:2659-1
SLES 15 SP3 ldb 2.4.3-150300.3.20.1 SUSE-SU-2023:1687-1, SUSE-SU-2022:2586-1
SLES 15 SP3 samba 4.15.8+git.500.d5910280cc7-150300.3.37.1 SUSE-SU-2023:1687-1, SUSE-SU-2022:4395-1, SUSE-SU-2022:2586-1
SLES 12 SP5 samba 4.15.8+git.462.e73f4310487-3.68.1 SUSE-SU-2023:0081-1, SUSE-SU-2022:2582-1
SLES 2 samba 4.15.8+git.500.d5910280cc7-150300.3.37.1 SUSE-SU-2022:4395-1, SUSE-SU-2022:2586-1
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP3 ldb 2.4.4-150300.3.23.1 SUSE-SU-2023:1687-1
SLES for SAP 15 SP3 samba 4.15.13+git.636.53d93c5b9d6-150300.3.52.1 SUSE-SU-2023:1687-1
SLES for SAP 12 SP5 samba 4.15.8+git.462.e73f4310487-3.68.1 SUSE-SU-2023:0081-1, SUSE-SU-2022:2582-1
SLE Real Time 15 SP3 ldb 2.4.4-150300.3.23.1 SUSE-SU-2023:1687-1
SLE Real Time 15 SP3 samba 4.15.13+git.636.53d93c5b9d6-150300.3.52.1 SUSE-SU-2023:1687-1
SLE Micro 5.4 ldb 2.4.4-150400.4.11.1 SUSE-SU-2023:1689-1
SLE Micro 5.4 samba 4.15.13+git.636.53d93c5b9d6-150400.3.23.1 SUSE-SU-2023:1689-1
SLE Micro 5.3 ldb 2.4.4-150400.4.11.1 SUSE-SU-2023:1689-1
SLE Micro 5.3 samba 4.15.13+git.591.ab36624310c-150400.3.19.1 SUSE-SU-2023:1689-1, SUSE-SU-2023:0160-1
SLE Micro 5.2 ldb 2.4.3-150300.3.20.1 SUSE-SU-2023:1687-1, SUSE-SU-2022:2586-1
SLE Micro 5.2 samba 4.15.8+git.500.d5910280cc7-150300.3.37.1 SUSE-SU-2023:1687-1, SUSE-SU-2022:4395-1, SUSE-SU-2022:2586-1
SLE Micro 5.1 ldb 2.4.3-150300.3.20.1 SUSE-SU-2023:1687-1, SUSE-SU-2022:2586-1
SLE HPC 15 SP3 ldb 2.4.4-150300.3.23.1 SUSE-SU-2023:1687-1
SLE HPC 15 SP3 samba 4.15.13+git.636.53d93c5b9d6-150300.3.52.1 SUSE-SU-2023:1687-1
SUSE Manager Server 4.2 ldb 2.4.4-150300.3.23.1 SUSE-SU-2023:1687-1
SUSE Manager Server 4.2 samba 4.15.13+git.636.53d93c5b9d6-150300.3.52.1 SUSE-SU-2023:1687-1
SUSE Manager Proxy 4.2 ldb 2.4.4-150300.3.23.1 SUSE-SU-2023:1687-1
SUSE Manager Proxy 4.2 samba 4.15.13+git.636.53d93c5b9d6-150300.3.52.1 SUSE-SU-2023:1687-1
SUSE Enterprise Storage 7.1 ldb 2.4.3-150300.3.20.1 SUSE-SU-2023:1687-1, SUSE-SU-2022:2586-1
SUSE Enterprise Storage 7.1 samba 4.15.8+git.500.d5910280cc7-150300.3.37.1 SUSE-SU-2023:1687-1, SUSE-SU-2022:4395-1, SUSE-SU-2022:2586-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ldb 2.5.2-1.1 openSUSE-SU-2024:12241-1
openSUSE Tumbleweed samba 4.16.4+git.297.1497eb221ed-1.1 openSUSE-SU-2024:12243-1
openSUSE Leap 15.4 ldb 2.4.3-150400.4.8.1 SUSE-SU-2023:1689-1, SUSE-SU-2022:2659-1
openSUSE Leap 15.4 samba 4.15.8+git.500.d5910280cc7-150400.3.11.1 SUSE-SU-2023:1689-1, SUSE-SU-2023:0160-1, SUSE-SU-2022:2659-1
openSUSE Leap 15.3 ldb 2.4.3-150300.3.20.1 SUSE-SU-2022:2586-1
openSUSE Leap 15.3 samba 4.15.8+git.500.d5910280cc7-150300.3.37.1 SUSE-SU-2022:4395-1, SUSE-SU-2022:2586-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.3 ldb 2.4.4-150400.4.11.1 SUSE-SU-2023:1689-1
openSUSE Leap Micro 5.3 samba 4.15.13+git.591.ab36624310c-150400.3.19.1 SUSE-SU-2023:1689-1, SUSE-SU-2023:0160-1
openSUSE Leap Micro 5.2 ldb 2.4.3-150300.3.20.1 SUSE-SU-2022:2586-2
openSUSE Leap Micro 5.2 samba 4.15.8+git.500.d5910280cc7-150300.3.37.1 SUSE-SU-2022:4395-1, SUSE-SU-2022:2586-2
ReleasePackageFixed inAdvisory
Alpine v3.24 samba 4.15.9-r0 —
Alpine v3.23 samba 4.15.9-r0 —
Alpine v3.22 samba 4.15.9-r0 —
Alpine v3.21 samba 4.15.9-r0 —
Alpine v3.20 samba 4.15.9-r0 —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 samba 4.15.9-r0 —
Alpine v3.18 samba 4.15.9-r0 —
Alpine v3.17 samba 4.15.9-r0 —
Alpine v3.16 samba 4.15.12-r0 —
Alpine v3.15 samba 4.15.12-r0 —
Alpine v3.14 samba 4.14.14-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 libldb +5 2.6.1-1.amzn2023.0.2 ALAS2023-2023-085
Amazon Linux 2023 samba +29 2:4.17.5-0.amzn2023.0.2 ALAS2023-2023-032

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 libldb 2.7.2-1 —
Azure Linux 3 samba 4.18.3-1 —
Azure Linux 2 (CBL-Mariner) samba No fix yet —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 libldb +3 2.5.2-1.el9 ELSA-2022-8318
Oracle Linux 8 libldb +5 2.5.2-2.el8 ELSA-2022-7730

Advisories 24

References