CVE-2022-0336Samba
High 8.8
Follow: this CVE · Samba · Samba We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 78
- Auth required
- Yes
- Published
- Aug 29, 2022
- Updated
- Jun 17, 2026
- Category
- Server · Linux
- Weakness (CWE)
- CWE-276
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Samba.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| samba | samba | ≥ 4.0.0 < 4.13.17 |
| samba | samba | ≥ 4.14.0 < 4.14.12 |
| samba | samba | ≥ 4.15.0 < 4.15.4 |
| fedoraproject | fedora | 34 |
| fedoraproject | fedora | 35 |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com Issue Tracking Third Party Advisory
- bugzilla.redhat.com Issue Tracking Third Party Advisory
- bugzilla.samba.org Issue Tracking Patch Vendor Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- security.gentoo.org
- www.samba.org Vendor Advisory