CVE-2022-2127

Samba: out-of-bounds read in winbind auth_crap

State
Published
Severity
5.9 Medium
Published
Jul 20, 2023
Updated
Nov 20, 2025
Reserved
Jun 18, 2022

Read the record on cve.org

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

CVSSScoreVectorSource
3.15.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:Hredhat

Weaknesses

Affected Products

ProductVersions
Red Hat Enterprise Linux 8Red Hat
  • 0:4.18.6-1.el8 and laterNot affected
Red Hat Enterprise Linux 8Red Hat
  • 0:4.18.6-1.el8 and laterNot affected
Red Hat Enterprise Linux 8.6 Extended Update SupportRed Hat
  • 0:4.15.5-15.el8_6 and laterNot affected
Red Hat Enterprise Linux 8.8 Extended Update SupportRed Hat
  • 0:4.17.5-5.el8_8 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:4.18.6-100.el9 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:4.18.6-100.el9 and laterNot affected
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8Red Hat
  • 0:4.15.5-15.el8_6 and laterNot affected
Red Hat Enterprise Linux 6Red Hat
    Red Hat Enterprise Linux 6Red Hat
      Red Hat Enterprise Linux 7Red Hat
        Red Hat Storage 3Red Hat

          References

          Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.