CVE-2022-0336
CVE-2022-0336
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 8.8 · High · EPSS 1.8% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
samba
- Versions
- Affects Samba v4.0.0 and later, Fixed in samba v4.13.17, v4.14.12, v4.15.4.: Affected
No fix published
samba Debian:12
- Affected ranges
- ECOSYSTEM: < 2:4.16.0+dfsg-2
Update to 2:4.16.0+dfsg-2
samba Debian:13
- Affected ranges
- ECOSYSTEM: < 2:4.16.0+dfsg-2
Update to 2:4.16.0+dfsg-2
samba Debian:14
- Affected ranges
- ECOSYSTEM: < 2:4.16.0+dfsg-2
Update to 2:4.16.0+dfsg-2
samba Ubuntu:20.04:LTS
- Versions
- 2:4.10.7+dfsg-0ubuntu2
- 2:4.10.7+dfsg-0ubuntu3
- 2:4.11.1+dfsg-3ubuntu1
- 2:4.11.1+dfsg-3ubuntu2
- 2:4.11.1+dfsg-3ubuntu4
- 2:4.11.5+dfsg-1ubuntu1
- 2:4.11.5+dfsg-1ubuntu2
- 2:4.11.6+dfsg-0ubuntu1
- 2:4.11.6+dfsg-0ubuntu1.1
- 2:4.11.6+dfsg-0ubuntu1.2
- 2:4.11.6+dfsg-0ubuntu1.3
- 2:4.11.6+dfsg-0ubuntu1.4
- 2:4.11.6+dfsg-0ubuntu1.5
- 2:4.11.6+dfsg-0ubuntu1.6
- 2:4.11.6+dfsg-0ubuntu1.8
- 2:4.11.6+dfsg-0ubuntu1.9
- 2:4.11.6+dfsg-0ubuntu1.10
- 2:4.13.14+dfsg-0ubuntu0.20.04.1
- 2:4.13.14+dfsg-0ubuntu0.20.04.2
- 2:4.13.14+dfsg-0ubuntu0.20.04.3
- 2:4.13.14+dfsg-0ubuntu0.20.04.4
- Affected ranges
- ECOSYSTEM: < 2:4.13.17~dfsg-0ubuntu0.21.04.1
Update to 2:4.13.17~dfsg-0ubuntu0.21.04.1
Original sources
- https://www.samba.org/samba/security/CVE-2022-0336.html
- https://bugzilla.samba.org/show_bug.cgi?id=14950
- https://github.com/samba-team/samba/commit/1a5dc817c0c9379bbaab14c676681b42b0039a3c
- https://github.com/samba-team/samba/commit/c58ede44f382bd0125f761f0479c8d48156be400
- https://bugzilla.redhat.com/show_bug.cgi?id=2046134
- https://access.redhat.com/security/cve/CVE-2022-0336
- https://security.gentoo.org/glsa/202309-06
- https://nvd.nist.gov/vuln/detail/CVE-2022-0336