Advisory

UBUNTU-CVE-2022-2127

Also known as: CVE-2022-2127

Summary

The record has no summary.

Details

An out-of-bounds read vulnerability was found in Samba due to insufficient length checks in winbindd_pam_auth_crap.c. When performing NTLM authentication, the client replies to cryptographic challenges back to the server. These replies have variable lengths, and Winbind fails to check the lan manager response length. When Winbind is used for NTLM authentication, a maliciously crafted request can trigger an out-of-bounds read in Winbind, possibly resulting in a crash.

Severity

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

Dates

Published
2023-07-19 00:00 UTC
Modified
2026-04-22 13:15 UTC

Affected packages and fixes

samba

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 2:4.15.13+dfsg-0ubuntu0.20.04.3 (ecosystem)

Fixed versions

2:4.15.13+dfsg-0ubuntu0.20.04.3

Fix

  • Fixed version 2:4.15.13+dfsg-0ubuntu0.20.04.3
    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.

samba

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2:4.15.13+dfsg-0ubuntu1.2 (ecosystem)

Fixed versions

2:4.15.13+dfsg-0ubuntu1.2

Fix

  • Fixed version 2:4.15.13+dfsg-0ubuntu1.2
    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