Red Hat VEX
RHVEX-CVE-2024-22025
nodejs: using the fetch() function to retrieve content from an untrusted URL leads to denial of service
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:8 | nodejs | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | nodejs-devel | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | nodejs-docs | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | nodejs-full-i18n | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | nodejs-libs | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | nodejs-nodemon | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | nodejs-packaging | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | nodejs-packaging-bundler | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | npm | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | v8-12.4-devel | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | v8-13.6-devel | All versions, will not be fixed |