---
title: "CVE-2022-0336\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2022-0336?format=md
keywords: index, follow
---

# CVE-2022-0336

Publication date 31 January 2022

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**8.8 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2022-0336?format=md#impact-score)

Toggle side navigation

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| samba | 22.04 LTS jammy | Fixed 4.13.17~dfsg-0ubuntu1 |
| 21.10 impish | Fixed 2:4.13.17~dfsg-0ubuntu0.21.10.1 |
| 20.04 LTS focal | Fixed 2:4.13.17~dfsg-0ubuntu0.21.04.1 |
| 18.04 LTS bionic | Not affected |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

8.8 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | Low |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 8.8 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0336)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-0336)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2022-0336)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2022-0336)

### Related Ubuntu Security Notices (USN)

+ [USN-5260-1](https://usn.ubuntu.com/USN-5260-1)
+ Samba vulnerabilities
+ 1 February 2022

### Other references

* <https://www.samba.org/samba/security/CVE-2022-0336.html>
* <https://www.cve.org/CVERecord?id=CVE-2022-0336>
