BreachSpiderVerified, not vibes

CVE-2022-0336 in Fedoraproject Fedora and 1 more product

High 8.8

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 c...

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 3.18.8
EPSS1.7%
EPSS percentile78th
FixSee advisory

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Fedoraproject Fedora 34 35
Samba Samba ≥ 4.0.0, < 4.13.17 ≥ 4.14.0, < 4.14.12 ≥ 4.15.0, < 4.15.4

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2022-0336
BreachSpider IDBS-2022-GLOBAL-066206-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2022-08-29
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-276: Incorrect Default Permissions

Software sets overly permissive default access rights during installation or resource creation.

Related attack patterns (CAPEC)

CAPEC-81 Web Server Logs Tampering via CWE-276

CAPEC-127 Directory Indexing via CWE-276

CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs via CWE-276

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2022-0336 affects the Samba AD DC by allowing an attacker to bypass checks on service principal names (SPNs) when modifying an account, potentially leading to SPN aliasing.

An attacker with write access to an account can re-add a previously present SPN, bypassing the checks that prevent SPN aliasing. This can be exploited to create confusion or unauthorized access in the domain.

Questions

What is CVE-2022-0336?

CVE-2022-0336 affects the Samba AD DC by allowing an attacker to bypass checks on service principal names (SPNs) when modifying an account, potentially leading to SPN aliasing.

What is the CVSS score for CVE-2022-0336?

CVE-2022-0336 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.7%.

Is CVE-2022-0336 actively exploited?

No confirmed active exploitation of CVE-2022-0336 as of 2026-09-25.

How do I remediate CVE-2022-0336?

Priority: IMMEDIATE. Advisory: https://bugzilla.samba.org/show_bug.cgi?id=14950 PSIRT: [email protected]

What systems are affected by CVE-2022-0336?

CVE-2022-0336 affects Fedoraproject Fedora; Samba Samba.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Fedoraproject","product":"Fedora","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.