CVE-2022-2127

Samba: out-of-bounds read in winbind auth_crap

Published Jul 20, 2023 CVSS 3.1 · 5.9 Medium EPSS 1.7% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3792-1 samba security update
Debian DSA Debian DSA DSA-5477-1 samba security update
Debian DSA Debian DSA DSA-5647-1 samba security update
EUVD EUVD EUVD-2022-34413 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.
Ubuntu USN Ubuntu USN USN-6238-1 Samba vulnerabilities
History
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 5, 2026, 8:57 AM
Reserved
Jun 18, 2022, 3:45 PM
Status
Modified
Published
Jul 20, 2023, 3:15 PM
Modified
Nov 5, 2026, 9:17 AM
Severity
Moderate
Public date
Jul 19, 2023, 12:00 AM