CVE-2022-2127: 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 winbinddpamauthcrap.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.
Other sources
When winbind is used for NTLM authentication, a maliciously crafted request can trigger an out-of-bounds read in winbind and possibly crash it.
— Red Hat
Affected Software
Event History
Frequently Asked Questions
What is CVE-2022-2127?
CVE-2022-2127 is an out-of-bounds read vulnerability in Samba due to insufficient length checks in winbindd_pam_auth_crap.c.
How severe is CVE-2022-2127?
CVE-2022-2127 has a severity rating of 7.5, which is considered high.
Which software is affected by CVE-2022-2127?
Samba versions 2:4.15.13+dfsg-0ubuntu0.20.04.3, 2:4.15.13+dfsg-0ubuntu1.2, 2:4.16.8+dfsg-0ubuntu1.2, 2:4.17.7+dfsg-1ubuntu1.1, 4.16.11, 4.17.10, and 4.18.5 are affected.
How can I fix CVE-2022-2127?
To fix CVE-2022-2127, update to Samba version 2:4.15.13+dfsg-0ubuntu0.20.04.3, 2:4.15.13+dfsg-0ubuntu1.2, 2:4.16.8+dfsg-0ubuntu1.2, 2:4.17.7+dfsg-1ubuntu1.1, 4.16.11, 4.17.10, or 4.18.5.
Where can I find more information about CVE-2022-2127?
More information about CVE-2022-2127 can be found at the following references: [CVE-2022-2127](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2127), [Samba Security Advisory](https://www.samba.org/samba/security/CVE-2022-2127.html), [Ubuntu Security Notice](https://ubuntu.com/security/notices/USN-6238-1).