CVE-2022-2031

Publication date 27 July 2022

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

8.8 · High

Score breakdown

A flaw was found in Samba. The security vulnerability occurs when KDC and the kpasswd service share a single account and set of keys, allowing them to decrypt each other's tickets. A user who has been requested to change their password, can exploit this flaw to obtain and use tickets to other services.

Read the notes from the security team

Mitigation

kpasswd is not a critical protocol for the AD DC in most installations, it can be disabled by setting "kpasswd port = 0" in the smb.conf.

Status

Package Ubuntu Release Status
samba 24.10 oracular
Fixed 2:4.16.4+dfsg-2ubuntu1
24.04 LTS noble
Fixed 2:4.16.4+dfsg-2ubuntu1
23.10 mantic
Fixed 2:4.16.4+dfsg-2ubuntu1
23.04 lunar
Fixed 2:4.16.4+dfsg-2ubuntu1
22.10 kinetic
Fixed 2:4.16.4+dfsg-2ubuntu1
22.04 LTS jammy
Fixed 2:4.15.9+dfsg-0ubuntu0.2
21.10 impish Ignored end of life
20.04 LTS focal
Fixed 2:4.13.17~dfsg-0ubuntu1.20.04.1
18.04 LTS bionic Ignored
16.04 LTS xenial
Vulnerable
14.04 LTS trusty Ignored end of ESM support, was needed

Notes


mdeslaur

Fixing this in Ubuntu 18.04 LTS would require substantial code backports. We will not be fixing this issue in Ubuntu 18.04 LTS. In environments where this is of concern, we recommend updating to a more recent Ubuntu version, or disabling kpasswd if this is not passible.

Severity score breakdown

Parameter Value
Base score 8.8 · High
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact High
Availability impact High
Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References

Related Ubuntu Security Notices (USN)

Other references