What’s Vulnerable › Vulnerabilities

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

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Samba 4.16.10, 4.17.9, 4.18.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-2127 or the next vulnerability affects your stack