CVE-2022-0336
Last modified
CVE-2022-0336 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 1.25% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Samba | Samba | >= 4.0.0, < 4.13.17 |
| Samba | Samba | >= 4.14.0, < 4.14.12 |
| Samba | Samba | >= 4.15.0, < 4.15.4 |
| Fedoraproject | Fedora | 34 |
| Fedoraproject | Fedora | 35 |
References
- https://access.redhat.com/security/cve/CVE-2022-0336Issue Tracking, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2046134Issue Tracking, Third Party Advisory
- https://bugzilla.samba.org/show_bug.cgi?id=14950Issue Tracking, Patch, Vendor Advisory
- https://github.com/samba-team/samba/commit/1a5dc817c0c9379bbaab14c676681b42b0039a3cPatch, Third Party Advisory
- https://github.com/samba-team/samba/commit/c58ede44f382bd0125f761f0479c8d48156be400Patch, Third Party Advisory
- https://www.samba.org/samba/security/CVE-2022-0336.htmlVendor Advisory
- https://access.redhat.com/security/cve/CVE-2022-0336Issue Tracking, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2046134Issue Tracking, Third Party Advisory
- https://bugzilla.samba.org/show_bug.cgi?id=14950Issue Tracking, Patch, Vendor Advisory
- https://github.com/samba-team/samba/commit/1a5dc817c0c9379bbaab14c676681b42b0039a3cPatch, Third Party Advisory
- https://github.com/samba-team/samba/commit/c58ede44f382bd0125f761f0479c8d48156be400Patch, Third Party Advisory
- https://www.samba.org/samba/security/CVE-2022-0336.htmlVendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-0336?
How severe is CVE-2022-0336?
How do I fix CVE-2022-0336?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-0330A random memory access flaw was found in the Linux kernel's …7.8
- CVE-2022-0331An information disclosure vulnerability in Webadmin allows a…5.3
- CVE-2022-0332A flaw was found in Moodle in versions 3.11 to 3.11.4. An SQ…9.8
- CVE-2022-0333A flaw was found in Moodle in versions 3.11 to 3.11.4, 3.10 …3.8
- CVE-2022-0334A flaw was found in Moodle in versions 3.11 to 3.11.4, 3.10 …4.3
- CVE-2022-0335A flaw was found in Moodle in versions 3.11 to 3.11.4, 3.10 …8.8
- CVE-2022-0337Inappropriate implementation in File System API in Google Ch…6.5
- CVE-2022-0338Insertion of Sensitive Information into Log File in Conda lo…4.3
- CVE-2022-0339Server-Side Request Forgery (SSRF) in Pypi calibreweb prior …9.8
- CVE-2022-0341Cross-site Scripting (XSS) - Stored in GitHub repository van…5.4
- CVE-2022-0342An authentication bypass vulnerability in the CGI program of…9.8
- CVE-2022-0343A local attacker, as a different local user, may be able to …7.8
Are you affected by CVE-2022-0336?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
