CVE-2022-0336
The Samba AD DC includes checks when adding service principals names (SPNs) to an account to ensure that SPNs do not alias with those…
- Published
- Updated
- Reserved
- 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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 1.8% · top 22% of all CVEs (6 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.8.
Weakness
Affected products
Samba
- affected Affects Samba v4.0.0 and later, Fixed in samba v4.13.17, v4.14.12, v4.15.4.
References (7)
- https://www.samba.org/samba/security/CVE-2022-0336.html (opens in a new tab)x_transferred
- https://bugzilla.samba.org/show_bug.cgi?id=14950 (opens in a new tab)x_transferred
- https://github.com/samba-team/samba/commit/1a5dc817c0c9379bbaab14c676681b42b0039a3c (opens in a new tab)x_transferred
- https://github.com/samba-team/samba/commit/c58ede44f382bd0125f761f0479c8d48156be400 (opens in a new tab)x_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=2046134 (opens in a new tab)x_transferred
- https://access.redhat.com/security/cve/CVE-2022-0336 (opens in a new tab)x_transferred
- GLSA-202309-06 (opens in a new tab)vendor-advisoryx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-0336)Record last updated .