CVE-2022-2127
Samba: out-of-bounds read in winbind auth_crap
- Published
- Updated
- Reserved
- Assigned by
- redhat
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
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Medium5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | Medium5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 1.7% · top 22% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.9.
Weakness
Affected products
Red Hat · Red Hat Enterprise Linux 8
- unaffected 0:4.18.6-1.el8 – < *
Red Hat · Red Hat Enterprise Linux 8
- unaffected 0:4.18.6-1.el8 – < *
Red Hat · Red Hat Enterprise Linux 8.6 Extended Update Support
- unaffected 0:4.15.5-15.el8_6 – < *
Red Hat · Red Hat Enterprise Linux 8.8 Extended Update Support
- unaffected 0:4.17.5-5.el8_8 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 0:4.18.6-100.el9 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 0:4.18.6-100.el9 – < *
Red Hat · Red Hat Virtualization 4 for Red Hat Enterprise Linux 8
- unaffected 0:4.15.5-15.el8_6 – < *
Red Hat · Red Hat Enterprise Linux 6
All versions: unknown
Red Hat · Red Hat Enterprise Linux 6
All versions: unknown
Red Hat · Red Hat Enterprise Linux 7
All versions: unknown
All versions: unknown
References (12)
- RHSA-2023:6667 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:7139 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:0423 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:0580 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://access.redhat.com/security/cve/CVE-2022-2127 (opens in a new tab)vdb-entryx_refsource_REDHATx_transferred
- RHBZ#2222791 (opens in a new tab)issue-trackingx_refsource_REDHATx_transferred
- https://www.samba.org/samba/security/CVE-2022-2127.html (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2024/04/msg00015.html (opens in a new tab)x_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/BPCSGND7LO467AJGR5DYBGZLTCGTOBCC/ (opens in a new tab)x_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/OT74M42E6C36W7PQVY3OS4ZM7DVYB64Z/ (opens in a new tab)x_transferred
- https://security.netapp.com/advisory/ntap-20230731-0010/ (opens in a new tab)x_transferred
- https://www.debian.org/security/2023/dsa-5477 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-2127)Record last updated .