Vulnerability in Samba
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 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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.016 (75.5th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 75th percentile — 75.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.016 · newest: 0.016 · change: +0.000
Affected products
- Samba
- Fedoraproject Fedora — versions 34, 35
- Samba — versions Affects Samba v4.0.0 and later, Fixed in samba v4.13.17, v4.14.12, v4.15.4.
Weakness classification (CWE)
Public proof-of-concept exploits
References
- www.samba.org/samba/security/CVE-2022-0336.html (Vendor Advisory)
- bugzilla.samba.org/show_bug.cgi (Patch, Issue Tracking, Vendor Advisory)
- github.com/samba-team/samba/commit/1a5dc817c0c9379bbaab14c676681b42b0039a3c (Patch, Third Party Advisory)
- github.com/samba-team/samba/commit/c58ede44f382bd0125f761f0479c8d48156be400 (Patch, Third Party Advisory)
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- access.redhat.com/security/cve/CVE-2022-0336 (Third Party Advisory, Issue Tracking)
- security.gentoo.org/glsa/202309-06 (vendor-advisory)
Frequently asked questions
- What is CVE-2022-0336?
- CVE-2022-0336 is a high-severity vulnerability in Samba, classified under Incorrect Default Permissions. CVSS score: 8.8/10. Published 2022-08-29.
- How severe is CVE-2022-0336?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2022-0336 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.