Out-of-bounds Write Affecting re2c-debuginfo package, versions <0:3.1-2.amzn2.0.1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
1.59% (74th 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-RE2CDEBUGINFO-6062222
  • published16 Nov 2023
  • disclosed29 Mar 2022

Introduced: 29 Mar 2022

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

How to fix?

Upgrade Amazon-Linux:2 re2c-debuginfo to version 0:3.1-2.amzn2.0.1 or higher.
This issue was patched in ALAS2-2023-2344.

NVD Description

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

A stack overflow re2c 2.2 exists due to infinite recursion issues in src/dfa/dead_rules.cc.

CVSS Base Scores

version 3.1