Skip to content
OpenAdvisories
Unscored CVE-2022-0336 EUVD-2022-15499GHSA-rg44-hwh5-vcpq

The Samba AD DC includes checks when adding service principals names (SPNs) to an account to ensure that SPNs do not alias with those alrea…

Published Aug 29, 2022 · Updated Aug 2, 2024 · Assigned by redhat

Description

The Samba AD DC includes checks when adding service principals names (SPNs) to an account to ensure that SPNs do not alias with those already in the database. Some of these checks are able to be bypassed if an account modification re-adds an SPN that was previously present on that account, such as one added when a computer is joined to a domain. An attacker who has the ability to write to an account can exploit this to perform a denial-of-service attack by adding an SPN that matches an existing service. Additionally, an attacker who can intercept traffic can impersonate existing services, resulting in a loss of confidentiality and integrity.

Affected products

VendorProductAffectedFixed
— Samba Affects Samba v4.0.0 and later, Fixed in samba v4.13.17, v4.14.12, v4.15.4. —

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.0+dfsg-2 —
Debian 13 samba 2:4.16.0+dfsg-2 —
Debian 12 samba 2:4.16.0+dfsg-2 —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS samba 2:4.13.17~dfsg-0ubuntu0.21.04.1 USN-5260-1
ReleasePackageFixed inAdvisory
SLES 15 SP3 apparmor 2.13.6-150300.3.11.2 SUSE-SU-2022:0283-1
SLES 15 SP3 krb5 1.19.2-150300.8.3.2 SUSE-SU-2022:0283-1
SLES 15 SP3 ldb 2.4.1-150300.3.10.1 SUSE-SU-2022:0283-1
SLES 15 SP3 libapparmor 2.13.6-150300.3.11.1 SUSE-SU-2022:0283-1
SLES 15 SP3 samba 4.15.4+git.324.8332acf1a63-150300.3.25.3 SUSE-SU-2022:0283-1
SLES 15 SP3 sssd 1.16.1-150300.23.17.3 SUSE-SU-2022:0283-1
SLES 15 SP3 talloc 2.3.3-150300.3.3.2 SUSE-SU-2022:0283-1
SLES 15 SP3 talloc-man 2.3.3-150300.3.3.1 SUSE-SU-2022:0283-1
SLES 15 SP3 tdb 1.4.4-150300.3.3.2 SUSE-SU-2022:0283-1
SLES 15 SP3 tevent 0.11.0-150300.3.3.2 SUSE-SU-2022:0283-1
SLES 15 SP3 tevent-man 0.11.0-150300.3.3.1 SUSE-SU-2022:0283-1
SLES 12 SP5 apparmor 2.8.2-56.6.3 SUSE-SU-2022:0323-1
SLES 12 SP5 ca-certificates 1_201403302107-15.3.3 SUSE-SU-2022:0323-1
SLES 12 SP5 gnutls 3.4.17-8.4.1 SUSE-SU-2022:0323-1
SLES 12 SP5 libnettle 3.1-21.3.2 SUSE-SU-2022:0323-1
SLES 12 SP5 p11-kit 0.23.2-8.3.2 SUSE-SU-2022:0323-1
SLES 12 SP5 samba 4.15.4+git.324.8332acf1a63-3.54.1 SUSE-SU-2022:0323-1
SLES 12 SP5 sssd 1.16.1-7.28.9 SUSE-SU-2022:0323-1
SLES 12 SP5 yast2-samba-client 3.1.23-3.3.1 SUSE-SU-2022:0323-1
SLES 2 samba 4.15.4+git.324.8332acf1a63-150300.3.25.3 SUSE-SU-2022:0283-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP5 apparmor 2.8.2-56.6.3 SUSE-SU-2022:0323-1
SLES for SAP 12 SP5 ca-certificates 1_201403302107-15.3.3 SUSE-SU-2022:0323-1
SLES for SAP 12 SP5 gnutls 3.4.17-8.4.1 SUSE-SU-2022:0323-1
SLES for SAP 12 SP5 libnettle 3.1-21.3.2 SUSE-SU-2022:0323-1
SLES for SAP 12 SP5 p11-kit 0.23.2-8.3.2 SUSE-SU-2022:0323-1
SLES for SAP 12 SP5 samba 4.15.4+git.324.8332acf1a63-3.54.1 SUSE-SU-2022:0323-1
SLES for SAP 12 SP5 sssd 1.16.1-7.28.9 SUSE-SU-2022:0323-1
SLES for SAP 12 SP5 yast2-samba-client 3.1.23-3.3.1 SUSE-SU-2022:0323-1
SLE Micro 5.1 apparmor 2.13.6-150300.3.11.2 SUSE-SU-2022:0283-1
SLE Micro 5.1 krb5 1.19.2-150300.8.3.2 SUSE-SU-2022:0283-1
SLE Micro 5.1 ldb 2.4.1-150300.3.10.1 SUSE-SU-2022:0283-1
SLE Micro 5.1 libapparmor 2.13.6-150300.3.11.1 SUSE-SU-2022:0283-1
SLE Micro 5.1 sssd 1.16.1-150300.23.17.3 SUSE-SU-2022:0283-1
SLE Micro 5.1 talloc 2.3.3-150300.3.3.2 SUSE-SU-2022:0283-1
SLE Micro 5.1 tdb 1.4.4-150300.3.3.2 SUSE-SU-2022:0283-1
SLE Micro 5.1 tevent 0.11.0-150300.3.3.2 SUSE-SU-2022:0283-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed samba 4.15.5+git.328.f1f29505d84-1.1 openSUSE-SU-2024:11807-1
openSUSE Leap 15.3 apparmor 2.13.6-150300.3.11.2 openSUSE-SU-2022:0283-1
openSUSE Leap 15.3 krb5 +1 1.19.2-150300.8.3.2 openSUSE-SU-2022:0283-1
openSUSE Leap 15.3 ldb 2.4.1-150300.3.10.1 openSUSE-SU-2022:0283-1
openSUSE Leap 15.3 libapparmor 2.13.6-150300.3.11.1 openSUSE-SU-2022:0283-1
openSUSE Leap 15.3 samba 4.15.4+git.324.8332acf1a63-150300.3.25.3 openSUSE-SU-2022:0283-1
openSUSE Leap 15.3 sssd 1.16.1-150300.23.17.3 openSUSE-SU-2022:0283-1
openSUSE Leap 15.3 talloc 2.3.3-150300.3.3.2 openSUSE-SU-2022:0283-1
openSUSE Leap 15.3 talloc-man 2.3.3-150300.3.3.1 openSUSE-SU-2022:0283-1
openSUSE Leap 15.3 tdb 1.4.4-150300.3.3.2 openSUSE-SU-2022:0283-1
openSUSE Leap 15.3 tevent 0.11.0-150300.3.3.2 openSUSE-SU-2022:0283-1
openSUSE Leap 15.3 tevent-man 0.11.0-150300.3.3.1 openSUSE-SU-2022:0283-1
ReleasePackageFixed inAdvisory
Alpine v3.16 samba 4.15.12-r0 —
Alpine v3.15 samba 4.15.12-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 samba +29 2:4.17.5-0.amzn2023.0.2 ALAS2023-2023-032

Azure Linux

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

Advisories 10

References