Out-of-bounds Read in Samba
CVE-2022-2127
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.017, 77.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Samba
- Debian Linux — versions 12.0
- Fedoraproject Fedora — versions 37, 38
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Storage 3
- Red Hat Enterprise Linux — versions 6.0, 7.0, 8.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- access.redhat.com/errata/RHSA-2023:6667 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2023:7139 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2024:0423 (vendor-advisory)
- access.redhat.com/errata/RHSA-2024:0580 (vendor-advisory)
- access.redhat.com/security/cve/CVE-2022-2127 (Third Party Advisory, vdb-entry)
- bugzilla.redhat.com/show_bug.cgi (issue-tracking, Third Party Advisory, Issue Tracking)
- www.samba.org/samba/security/CVE-2022-2127.html (Mitigation, Vendor Advisory)
- lists.debian.org/debian-lts-announce/2024/04/msg00015.html
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…