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 | Vendor | Product | Affected 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.
References
- https://access.redhat.com/downloads/content/package-browser/ URL
- https://lists.debian.org/debian-lts-announce/2024/04/msg00015.html URL
- https://lists.fedoraproject.org/archives/list/[email protected]... URL
- https://lists.fedoraproject.org/archives/list/[email protected]... URL
- https://www.samba.org/samba/security/CVE-2022-2127.html URL
- https://access.redhat.com/errata/RHSA-2023:6667 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2023:7139 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2024:0423 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2024:0580 Vendor Advisory
- https://access.redhat.com/security/cve/CVE-2022-2127 Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2127.j... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2022-2127 Vendor Advisory
- https://security.netapp.com/advisory/ntap-20230731-0010/ Vendor Advisory
- https://www.debian.org/security/2023/dsa-5477 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2222791 Third Party Advisory
- https://security-tracker.debian.org/tracker/CVE-2022-2127 Vendor Advisory
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-125Out-of-bounds Read
Timeline
Published20 Jul 2023
Updated3 Nov 2026
First seen29 Sep 2026
Track software like this
Free during beta