Loop with Unreachable Exit Condition ('Infinite Loop') Affecting nodejs20 package, versions <1:20.20.2-1.amzn2023.0.2


Severity

Recommended
0.0
low
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.01% (1st 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-NODEJS20-16351606
  • published3 May 2026
  • disclosed18 Feb 2026

Introduced: 18 Feb 2026

CVE-2026-27171  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 nodejs20 to version 1:20.20.2-1.amzn2023.0.2 or higher.
This issue was patched in ALAS2023-2026-1608.

NVD Description

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

zlib before 1.3.2 allows CPU consumption via crc32_combine64 and crc32_combine_gen64 because x2nmodp can do right shifts within a loop that has no termination condition.

CVSS Base Scores

version 3.1