CVEvulnerability
CVE-2022-2127
5.9 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2023-07-20
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.9 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 3.1 ([email protected])
- 5.9 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-125
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 configurations
• samba samba (>= 4.16.0 < 4.16.10)
• samba samba (>= 4.17.0 < 4.17.9)
• samba samba (>= 4.18.0 < 4.18.4)
• redhat enterprise linux 6.0
• redhat enterprise linux 7.0
• redhat enterprise linux 8.0
• redhat enterprise linux 9.0
• fedoraproject fedora 37
• fedoraproject fedora 38
• debian debian linux 12.0
Related
Weakness · CWE (1)
- CWE-125 Out-of-bounds Read weakness
References
- https://access.redhat.com/errata/RHSA-2023:6667 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7139 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0423 access.redhat.com
- https://access.redhat.com/errata/RHSA-2024:0580 access.redhat.com
- https://access.redhat.com/security/cve/CVE-2022-2127 Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2222791 Issue Tracking, Third Party Advisory
- https://www.samba.org/samba/security/CVE-2022-2127.html Mitigation, Vendor Advisory
- https://access.redhat.com/errata/RHSA-2023:6667 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7139 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0423 access.redhat.com
- https://access.redhat.com/errata/RHSA-2024:0580 access.redhat.com
- https://access.redhat.com/security/cve/CVE-2022-2127 Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2222791 Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2024/04/msg00015.html lists.debian.org
- https://lists.fedoraproject.org/archives/list/[email protected]/message/BPCSGND7LO467AJGR5DYBGZLTCGTOBCC/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/[email protected]/message/OT74M42E6C36W7PQVY3OS4ZM7DVYB64Z/ lists.fedoraproject.org
- https://security.netapp.com/advisory/ntap-20230731-0010/ security.netapp.com
- https://www.debian.org/security/2023/dsa-5477 www.debian.org
- https://www.samba.org/samba/security/CVE-2022-2127.html Mitigation, Vendor Advisory