CVE-2022-0336
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| samba-client | Amazon Linux | 2:4.17.5-0.amzn2023.0.2 |
| python3-samba-test | Amazon Linux | 2:4.17.5-0.amzn2023.0.2 |
| samba-common-libs | Amazon Linux | 2:4.17.5-0.amzn2023.0.2 |
| samba-krb5-printing | Amazon Linux | 2:4.17.5-0.amzn2023.0.2 |
| samba-winbind-clients | Amazon Linux | 2:4.17.5-0.amzn2023.0.2 |
| python3-samba | Amazon Linux | 2:4.17.5-0.amzn2023.0.2 |
| samba-common | Amazon Linux | 2:4.17.5-0.amzn2023.0.2 |
| samba | Arch Linux | 4.15.5-1 |
| samba-winbind-modules | Amazon Linux | 2:4.17.5-0.amzn2023.0.2 |
| samba | Alpine | 4.15.12-r0 |
| samba-dc-libs | Amazon Linux | 2:4.17.5-0.amzn2023.0.2 |
| samba-winbind-krb5-locator | Amazon Linux | 2:4.17.5-0.amzn2023.0.2 |
6 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | Samba | Affects Samba v4.0.0 and later, Fixed in samba v4.13.17, v4.14.12, v4.15.4. |
| amazon:2023 | samba-client | 0 |
| amazon:2023 | python3-samba-test | 0 |
| amazon:2023 | samba-common-libs | 0 |
| amazon:2023 | samba-krb5-printing | 0 |
| amazon:2023 | samba-winbind-clients | 0 |
| amazon:2023 | python3-samba | 0 |
| amazon:2023 | samba-common | 0 |
| arch | samba | 0 |
| amazon:2023 | samba-winbind-modules | 0 |
| alpine | samba | 0 |
| amazon:2023 | samba-dc-libs | 0 |
| amazon:2023 | samba-winbind-krb5-locator | 0 |
| amazon:2023 | samba-test-libs | 0 |
| amazon:2023 | samba-test | 0 |
| amazon:2023 | samba-pidl | 0 |
| amazon:2023 | libsmbclient-devel | 0 |
| amazon:2023 | samba-winbind | 0 |
| amazon:2023 | samba-devel | 0 |
| amazon:2023 | samba-ldb-ldap-modules | 0 |
…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
- GLSA-202309-06 vendor-advisory