Out-of-bounds Read Affecting samba-client package, versions <2:4.17.10-0.amzn2023.0.1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.14% (51st 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-AMZN2023-SAMBACLIENT-5855632
  • published24 Aug 2023
  • disclosed20 Jul 2023

Introduced: 20 Jul 2023

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

How to fix?

Upgrade Amazon-Linux:2023 samba-client to version 2:4.17.10-0.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2023-316.

NVD Description

Note: Versions mentioned in the description apply only to the upstream samba-client package and not the samba-client package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.

CVSS Scores

version 3.1