🛡️ CVE-2022-0336 — fedora
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
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| fedora | — | — |
| samba | 4.15.0 | 4.15.4 |
References
Similar Threats
- High CVE-2022-0096
- High CVE-2022-0100
- Critical CVE-2022-0097
- High CVE-2022-0102
- High CVE-2022-0098
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.