CVE-2022-0336
Kerberos vulnerability analysis and mitigation

Overview

CVE-2022-0336 affects Samba versions 4.0.0 and later, specifically impacting the Samba Active Directory Domain Controller (AD DC). The vulnerability allows users with permission to write to an account's servicePrincipalName attribute to impersonate arbitrary services. This security flaw was discovered when checks in the Samba AD DC to prevent aliased Service Principal Names (SPNs) could be bypassed (Samba Security).

Technical details

The vulnerability stems from a logic flaw in the SPN uniqueness checking mechanism. When adding service principal names to an account, some checks could 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. The vulnerability has been assigned a CVSS v3.1 base score of 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) (Samba Security).

Impact

The vulnerability has two primary impacts. First, an attacker who has the ability to write to an account can perform a denial-of-service attack by adding an SPN that matches an existing service. Second, if an attacker can intercept traffic, they can impersonate existing services, resulting in a loss of confidentiality and integrity (Samba Security).

Mitigation and workarounds

Patches addressing this vulnerability were released in Samba versions 4.13.17, 4.14.12, and 4.15.4. Samba administrators are advised to upgrade to these releases or apply the available patches as soon as possible. No workarounds are available for this vulnerability (Samba Security).

Additional resources


SourceThis report was generated using AI

Related Kerberos vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2024-37371CRITICAL9.1
  • MySQLMySQL
  • mecab
NoYesJun 28, 2024
CVE-2024-37370HIGH7.5
  • KerberosKerberos
  • krb5-server-debuginfo
NoYesJun 28, 2024
CVE-2025-3576MEDIUM5.9
  • KerberosKerberos
  • krb5-devel
NoYesApr 15, 2025
CVE-2024-26462MEDIUM5.5
  • KerberosKerberos
  • krb5-server
NoYesFeb 29, 2024
CVE-2025-24528N/AN/A
  • KerberosKerberos
  • crypto-policies-scripts
NoYesJan 31, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management