Heap-based Buffer Overflow Affecting samba-common-tools-debuginfo package, versions <2:4.17.5-0.amzn2023.0.2


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.87% (83rd 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-SAMBACOMMONTOOLSDEBUGINFO-3340992
  • published6 Mar 2023
  • disclosed12 Jan 2023

Introduced: 12 Jan 2023

CVE-2022-3437  (opens in a new tab)
CWE-122  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 samba-common-tools-debuginfo to version 2:4.17.5-0.amzn2023.0.2 or higher.
This issue was patched in ALAS2023-2023-032.

NVD Description

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

A heap-based buffer overflow vulnerability was found in Samba within the GSSAPI unwrap_des() and unwrap_des3() routines of Heimdal. The DES and Triple-DES decryption routines in the Heimdal GSSAPI library allow a length-limited write buffer overflow on malloc() allocated memory when presented with a maliciously small packet. This flaw allows a remote user to send specially crafted malicious data to the application, possibly resulting in a denial of service (DoS) attack.

CVSS Scores

version 3.1