VDB

CVE-2022-0336

CVE-2022-0336 PUBLISHED

Reported by redhat · Published August 29, 2022

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
samba-clientAmazon Linux2:4.17.5-0.amzn2023.0.2
python3-samba-testAmazon Linux2:4.17.5-0.amzn2023.0.2
samba-common-libsAmazon Linux2:4.17.5-0.amzn2023.0.2
samba-krb5-printingAmazon Linux2:4.17.5-0.amzn2023.0.2
samba-winbind-clientsAmazon Linux2:4.17.5-0.amzn2023.0.2
python3-sambaAmazon Linux2:4.17.5-0.amzn2023.0.2
samba-commonAmazon Linux2:4.17.5-0.amzn2023.0.2
sambaArch Linux4.15.5-1
samba-winbind-modulesAmazon Linux2:4.17.5-0.amzn2023.0.2
sambaAlpine4.15.12-r0
samba-dc-libsAmazon Linux2:4.17.5-0.amzn2023.0.2
samba-winbind-krb5-locatorAmazon Linux2:4.17.5-0.amzn2023.0.2

6 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
n/aSambaAffects Samba v4.0.0 and later, Fixed in samba v4.13.17, v4.14.12, v4.15.4.
amazon:2023samba-client0
amazon:2023python3-samba-test0
amazon:2023samba-common-libs0
amazon:2023samba-krb5-printing0
amazon:2023samba-winbind-clients0
amazon:2023python3-samba0
amazon:2023samba-common0
archsamba0
amazon:2023samba-winbind-modules0
alpinesamba0
amazon:2023samba-dc-libs0
amazon:2023samba-winbind-krb5-locator0
amazon:2023samba-test-libs0
amazon:2023samba-test0
amazon:2023samba-pidl0
amazon:2023libsmbclient-devel0
amazon:2023samba-winbind0
amazon:2023samba-devel0
amazon:2023samba-ldb-ldap-modules0

…and 14 more

Timeline

  • Jan 31, 2022 CVE Published
  • Aug 30, 2022 EPSS Score (30 in total, the first dated here)
  • Aug 2, 2024 CVE Updated
  • Dec 27, 2024 PoC Published (4 in total, the first dated here)
  • Mar 10, 2026 Security Advisory (18 in total, the first dated here)
  • Mar 17, 2026 Distribution Patch (14 in total, the first dated here)
  • Jul 13, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-0336
vulnetix vdb fixes CVE-2022-0336

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-0336/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›