Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
5.9

CVE-2022-2127: Samba: out-of-bounds read in winbind auth_crap

CVE-2022-2127 · published 3 years ago
Summary

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

What to do
  • Update debian samba to version 2:4.17.10+dfsg-0+deb12u1.
  • Update debian samba to version 2:4.18.5+dfsg-1.
Affected software
Ecosystem VendorProductAffected versions
– samba samba >= 4.16.0, < 4.16.10
>= 4.17.0, < 4.17.9
>= 4.18.0, < 4.18.4
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
– redhat enterprise_linux 6.0
7.0
8.0
9.0
cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
– fedoraproject fedora 37
38
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
– debian debian_linux 12.0
cpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:*
Debian:12 debian samba < 2:4.17.10+dfsg-0+deb12u1
Fix: upgrade to 2:4.17.10+dfsg-0+deb12u1
Debian:13 debian samba < 2:4.18.5+dfsg-1
Fix: upgrade to 2:4.18.5+dfsg-1
Original advisory text
Samba: out-of-bounds read in winbind auth_crap
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.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker partial control
Severity
5.9 Medium
Exploitation
2% chance of attack within 30 days
Type
CWE-125Out-of-bounds Read
Timeline
Published20 Jul 2023
Updated3 Nov 2026
First seen29 Sep 2026
Sources
CVE-2022-2127 · NVD
CVE-2022-2127 · OSV
Track software like this
Free during beta