Vulnerabilities · 2022 · Samba
CVE-2022-2127
Samba vulnerability
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
Samba, Enterprise Linux, Fedora, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Samba runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.samba.org/samba/security/CVE-2022-2127.html · Mitigation
- access.redhat.com/errata/RHSA-2023:6667 · Third Party Advisory
- access.redhat.com/errata/RHSA-2023:7139 · Third Party Advisory
- access.redhat.com/security/cve/CVE-2022-2127 · Third Party Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2222791 · Third Party Advisory
- access.redhat.com/errata/RHSA-2024:0423
- access.redhat.com/errata/RHSA-2024:0580
- lists.debian.org/debian-lts-announce/2024/04/msg00015.html
- nvd.nist.gov/vuln/detail/CVE-2022-2127
- cve.org/CVERecord?id=CVE-2022-2127
More vulnerabilities in Samba products
CVE-2025-0620CVE-2024-12088CVE-2024-12087CVE-2024-12086CVE-2024-12085CVE-2024-12084CVE-2023-42670CVE-2023-42669All 234
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.