🛡️ CVE-2022-0336 on Debian — samba
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.
Distribution advisory
This page covers CVE-2022-0336 as tracked by Debian, for the package samba. The fix is available in version 2:4.16.0+dfsg-2; earlier versions remain affected.
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
DEBIAN-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
DEBIAN-CVE-2022-0336 is recorded against 1 package.
- samba (fixed in 2:4.16.0+dfsg-2)
Timeline and source
Published on 29 August 2022 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
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 |
|---|---|---|
| samba | — | 2:4.16.0+dfsg-2 |
References
Similar Threats
- Unknown ALPINE-CVE-2018-14628
- Unknown ALPINE-CVE-2022-1615
- Unknown ALPINE-CVE-2022-32743
- Unknown ALPINE-CVE-2022-0336
- Unknown ALPINE-CVE-2022-2031
Site Security Check
Is samba part of your stack?
DEBIAN-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.