Resource Exhaustion Affecting nodejs-debuginfo package, versions <1:18.18.2-1.amzn2023.0.3


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.05% (18th 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 Resource Exhaustion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2023-NODEJSDEBUGINFO-6476851
  • published22 Mar 2024
  • disclosed19 Mar 2024

Introduced: 19 Mar 2024

CVE-2024-22025  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 nodejs-debuginfo to version 1:18.18.2-1.amzn2023.0.3 or higher.
This issue was patched in ALAS2023-2024-568.

NVD Description

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

A vulnerability in Node.js has been identified, allowing for a Denial of Service (DoS) attack through resource exhaustion when using the fetch() function to retrieve content from an untrusted URL. The vulnerability stems from the fact that the fetch() function in Node.js always decodes Brotli, making it possible for an attacker to cause resource exhaustion when fetching content from an untrusted URL. An attacker controlling the URL passed into fetch() can exploit this vulnerability to exhaust memory, potentially leading to process termination, depending on the system configuration.

CVSS Scores

version 3.1