Allocation of Resources Without Limits or Throttling Affecting nodejs20-docs package, versions <1:20.20.1-1.amzn2023.0.3


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.02% (5th 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 Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2023-NODEJS20DOCS-15922181
  • published7 Apr 2026
  • disclosed12 Mar 2026

Introduced: 12 Mar 2026

NewCVE-2026-1526  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 nodejs20-docs to version 1:20.20.1-1.amzn2023.0.3 or higher.
This issue was patched in ALAS2023-2026-1524.

NVD Description

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

The undici WebSocket client is vulnerable to a denial-of-service attack via unbounded memory consumption during permessage-deflate decompression. When a WebSocket connection negotiates the permessage-deflate extension, the client decompresses incoming compressed frames without enforcing any limit on the decompressed data size. A malicious WebSocket server can send a small compressed frame (a "decompression bomb") that expands to an extremely large size in memory, causing the Node.js process to exhaust available memory and crash or become unresponsive.

The vulnerability exists in the PerMessageDeflate.decompress() method, which accumulates all decompressed chunks in memory and concatenates them into a single Buffer without checking whether the total size exceeds a safe threshold.

CVSS Base Scores

version 3.1