Heap-based Buffer Overflow Affecting indent-debuginfo package, versions <0:2.2.11-13.amzn2.0.3


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.44% (37th 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-INDENTDEBUGINFO-6098500
  • published5 Dec 2023
  • disclosed14 Aug 2023

Introduced: 14 Aug 2023

CVE-2023-40305  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 indent-debuginfo to version 0:2.2.11-13.amzn2.0.3 or higher.
This issue was patched in ALAS2-2023-2358.

NVD Description

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

GNU indent 2.2.13 has a heap-based buffer overflow in search_brace in indent.c via a crafted file.

CVSS Base Scores

version 3.1