Out-of-bounds Read Affecting samba package, versions [,4.16.11)[4.17.0,4.17.10)[4.18.0,4.18.5)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.24% (64th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-SAMBA-5798516
  • published21 Jul 2023
  • disclosed19 Jul 2023
  • creditUnknown

Introduced: 19 Jul 2023

CVE-2022-2127  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade samba to version 4.16.11, 4.17.10, 4.18.5 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read due to insufficient length checks in the winbindd_pam_auth_crap.c file. 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.

CVSS Scores

version 3.1