Vulnerability · Published Aug 29, 2022 · Assigned by redhat
CVE-2022-0336
High 8.8
In plain English
A high-severity incorrect default permissions in Samba. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 78% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | samba | 2:4.16.0+dfsg-2 | DEBIAN-CVE-2022-0336 |
| Debian:13 | samba | 2:4.16.0+dfsg-2 | DEBIAN-CVE-2022-0336 |
| Debian:14 | samba | 2:4.16.0+dfsg-2 | DEBIAN-CVE-2022-0336 |
Affected products (as reported)
Weakness: CWE-276
References
- 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
- GLSA-202309-06 vendor-advisory