Loop with Unreachable Exit Condition ('Infinite Loop') Affecting byacc-debugsource package, versions <0:2.0.20210109-2.amzn2023.0.3


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.05% (24th 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-BYACCDEBUGSOURCE-5671575
  • published8 Jun 2023
  • disclosed20 Jan 2023

Introduced: 20 Jan 2023

CVE-2021-33642  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 byacc-debugsource to version 0:2.0.20210109-2.amzn2023.0.3 or higher.
This issue was patched in ALAS2023-2023-204.

NVD Description

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

When a file is processed, an infinite loop occurs in next_inline() of the more_curly() function.

CVSS Base Scores

version 3.1