Out-of-bounds Read Affecting gawk package, versions <0:4.0.2-4.amzn2.1.3


Severity

Recommended
low

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.42% (38th 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-AMZN2-GAWK-6098490
  • published5 Dec 2023
  • disclosed25 Sept 2023

Introduced: 25 Sep 2023

CVE-2023-4156  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 gawk to version 0:4.0.2-4.amzn2.1.3 or higher.
This issue was patched in ALAS2-2023-2357.

NVD Description

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

A heap out-of-bounds read flaw was found in builtin.c in the gawk package. This issue may lead to a crash and could be used to read sensitive information.

CVSS Base Scores

version 3.1