CVE-2024-22025

nodejs: using the fetch() function to retrieve content from an untrusted URL leads to denial of service

Published Mar 19, 2024 CVSS 3.1 · 6.5 Medium EPSS 1.3% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3776-1 nodejs security update
Debian DLA Debian DLA DLA-3886-1 nodejs security update
Debian DSA Debian DSA DSA-5991-1 nodejs security update
EUVD EUVD EUVD-2024-19631 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.
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00334}

epss

{'score': 0.00343}

Type Values Removed Values Added
Weaknesses CWE-404
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
hackerone
Published
Updated
Nov 4, 2025, 4:11 PM
Reserved
Jan 4, 2024, 1:04 AM
Status
Deferred
Published
Mar 19, 2024, 5:15 AM
Modified
Jun 17, 2026, 7:10 AM
Severity
Moderate
Public date
Mar 19, 2024, 12:00 AM