CVE-2022-2127
Samba: out-of-bounds read in winbind auth_crap
- State
- Published
- Severity
- 5.9 Medium
- Published
- Jul 20, 2023
- Updated
- Nov 20, 2025
- Reserved
- Jun 18, 2022
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.9 Medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H | redhat |
Weaknesses
- CWE-125 Out-of-bounds Read
Affected Products
| Product | Versions |
|---|---|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 8.6 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.8 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 6Red Hat | |
Red Hat Enterprise Linux 6Red Hat | |
Red Hat Enterprise Linux 7Red Hat | |
Red Hat Storage 3Red Hat |
References
- RHSA-2023:6667vendor-advisory
- RHSA-2023:7139vendor-advisory
- RHSA-2024:0423vendor-advisory
- RHSA-2024:0580vendor-advisory
- https://access.redhat.com/security/cve/CVE-2022-2127vdb-entry
- RHBZ#2222791issue-tracking
- https://www.samba.org/samba/security/CVE-2022-2127.html
- https://lists.debian.org/debian-lts-announce/2024/04/msg00015.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BPCSGND7LO467AJGR5DYBGZLTCGTOBCC/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OT74M42E6C36W7PQVY3OS4ZM7DVYB64Z/
- https://security.netapp.com/advisory/ntap-20230731-0010/
- https://www.debian.org/security/2023/dsa-5477
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.