Out-of-bounds Write Affecting re2c-debuginfo package, versions <0:3.1-1.amzn2023.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-AMZN2023-RE2CDEBUGINFO-6057498
  • published15 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:2023 re2c-debuginfo to version 0:3.1-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2023-438.

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:2023 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