ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2024-22025

Details

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.

Affected packages

EcosystemPackageAffected versions
Debian:12nodejs
All versions before 18.20.4+dfsg-1~deb12u1 (fixed in 18.20.4+dfsg-1~deb12u1)
Debian:13nodejs
All versions before 18.19.1+dfsg-1 (fixed in 18.19.1+dfsg-1)
Debian:14nodejs
All versions before 18.19.1+dfsg-1 (fixed in 18.19.1+dfsg-1)

References