Original 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 software
- Samba ≥ 4.17.0 < 4.17.9≥ 4.16.0 < 4.16.10≥ 4.18.0 < 4.18.4 Fixed in: 4.17.9, 4.16.10, 4.18.4 exact match
Details
- Published
- 2023-07-20
- Last modified
- 2026-11-05
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H- CWE
- CWE-125
- EPSS (30-day exploit probability)
- 1.72% (percentile 78)
References
- cve.org/CVE-2022-2127
- nvd.nist.gov/vuln/detail/CVE-2022-2127
- access.redhat.com/errata/RHSA-2023:6667
- access.redhat.com/errata/RHSA-2023:7139
- access.redhat.com/errata/RHSA-2024:0423
- access.redhat.com/errata/RHSA-2024:0580
- access.redhat.com/security/cve/CVE-2022-2127
- bugzilla.redhat.com/show_bug.cgi?id=2222791
- www.samba.org/samba/security/CVE-2022-2127.html
- lists.debian.org/debian-lts-announce/2024/04/msg00015.html
- lists.fedoraproject.org/archives/list/[email protected]/message/BPC...
- lists.fedoraproject.org/archives/list/[email protected]/message/OT7...
- security.netapp.com/advisory/ntap-20230731-0010/
- www.debian.org/security/2023/dsa-5477
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.