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
EPSS: 0.017 (75.0th percentile) — read the EPSS interpretation.
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.
Affected products
- Samba
- Debian Debian_linux — versions 12.0
- Fedoraproject Fedora — versions 37, 38
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8 — versions 0:4.18.6-1.el8
- Red Hat Enterprise Linux 8.6 Extended Update Support — versions 0:4.15.5-15.el8_6
- Red Hat Enterprise Linux 8.8 Extended Update Support — versions 0:4.17.5-5.el8_8
- Red Hat Enterprise Linux 9 — versions 0:4.18.6-100.el9
- Red Hat Storage 3
Weakness classification (CWE)
Public proof-of-concept exploits
References
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory, Third Party Advisory)
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory, Third Party Advisory)
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory)
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory)
- secalert@redhat.com (x_refsource_REDHAT, Third Party Advisory, vdb-entry)
- secalert@redhat.com (x_refsource_REDHAT, issue-tracking, Third Party Advisory, Issue Tracking)
- secalert@redhat.com (Mitigation, Vendor Advisory)
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2022-2127?
- CVE-2022-2127 is a medium-severity vulnerability in Samba, classified under Out-of-bounds Read. CVSS score: 5.9/10. Published 2023-07-20.
- How severe is CVE-2022-2127?
- Medium severity. CVSS v3 base score is 5.9 out of 10.
- Is CVE-2022-2127 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.