ADVISORIES

Red Hat VEX

RHVEX-CVE-2024-22025

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

Moderate No fix available CVE-2024-22025

Details

A flaw was found in Node.js that allows a denial of service attack through resource exhaustion when using the fetch() function to retrieve content from an untrusted URL. The vulnerability stems from the fetch() function in Node.js that always decodes Brotli, making it possible for an attacker to cause resource exhaustion when fetching content from an untrusted URL. This flaw allows an attacker to control the URL passed into fetch() to exhaust memory, potentially leading to process termination, depending on the system configuration.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:8nodejs
All versions, will not be fixed
Red Hat:enterprise_linux:8nodejs-devel
All versions, will not be fixed
Red Hat:enterprise_linux:8nodejs-docs
All versions, will not be fixed
Red Hat:enterprise_linux:8nodejs-full-i18n
All versions, will not be fixed
Red Hat:enterprise_linux:8nodejs-libs
All versions, will not be fixed
Red Hat:enterprise_linux:8nodejs-nodemon
All versions, will not be fixed
Red Hat:enterprise_linux:8nodejs-packaging
All versions, will not be fixed
Red Hat:enterprise_linux:8nodejs-packaging-bundler
All versions, will not be fixed
Red Hat:enterprise_linux:8npm
All versions, will not be fixed
Red Hat:enterprise_linux:8v8-12.4-devel
All versions, will not be fixed
Red Hat:enterprise_linux:8v8-13.6-devel
All versions, will not be fixed

References