Advisory

UBUNTU-CVE-2022-0336

Also known as: CVE-2022-0336

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 8.8, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2022-01-31 00:00 UTC
Modified
2026-04-22 13:11 UTC

Affected packages and fixes

samba

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 2:4.13.17~dfsg-0ubuntu0.21.04.1 (ecosystem)

Fixed versions

2:4.13.17~dfsg-0ubuntu0.21.04.1

Fix

  • Fixed version 2:4.13.17~dfsg-0ubuntu0.21.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences