🛡️ CVE-2022-0336 — fedora

🟠 CVSS 8.8 — High ✅ No Known Exploit CWE-276 NVD
8.8
CVSS Score
0 Low4 Medium7 High9 Critical10

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.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.

Weakness class

CVE-2022-0336 is classified as CWE-276: Incorrect Default Permissions. Files or resources are created with permissions that are broader than they need to be.

Affected software

CVE-2022-0336 is recorded against 2 packages.

  • fedora
  • samba (from 4.15.0 up to 4.15.4)

Timeline and source

Published on 29 August 2022 and last revised on 17 June 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

access.redhat.com
bugzilla.redhat.com
bugzilla.samba.org
github.com
github.com
security.gentoo.org
www.samba.org
access.redhat.com
bugzilla.redhat.com
bugzilla.samba.org
github.com
github.com
security.gentoo.org
www.samba.org

CVE-2022-0336 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity HIGH
CVSS Score 8.8
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE CWE-276
Public Exploit ✅ No
Source NVD
Published 2022-08-29
Updated 2026-08-11
Modified 2026-06-17

Affected Packages

Software From version Fixed in
fedora
samba 4.15.0 4.15.4

References

Issue Tracking, Third Party Advisory https://access.redhat.com/security/cve/CVE-2022-0336
Issue Tracking, Third Party Advisory https://bugzilla.redhat.com/show_bug.cgi?id=2046134
Issue Tracking, Patch, Vendor Advisory https://bugzilla.samba.org/show_bug.cgi?id=14950
Issue Tracking, Third Party Advisory https://access.redhat.com/security/cve/CVE-2022-0336
Issue Tracking, Third Party Advisory https://bugzilla.redhat.com/show_bug.cgi?id=2046134
Issue Tracking, Patch, Vendor Advisory https://bugzilla.samba.org/show_bug.cgi?id=14950

Similar Threats

Site Security Check

Is fedora part of your stack?

CVE-2022-0336 is rated CVSS 8.8 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2022