CVE-2024-22025: Node.js Node
Medium severity, CVSS 6.5. EPSS: 1.4% probability of exploitation activity in the next 30 days.
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.
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Node.js Node, from 4.0, before 5: fixed in 5
- Node.js Node, from 5.0, before 6: fixed in 6
- Node.js Node, from 6.0, before 7: fixed in 7
- Node.js Node, from 7.0, before 8: fixed in 8
- Node.js Node, from 8.0, before 9: fixed in 9
- Node.js Node, from 9.0, before 10: fixed in 10
- Node.js Node, from 10.0, before 11: fixed in 11
- Node.js Node, from 11.0, before 12: fixed in 12
- Node.js Node, from 12.0, before 13: fixed in 13
- Node.js Node, from 13.0, before 14: fixed in 14
- and 8 more
Affected products
- Node.js Node: from 4.0, before 5 (fixed in 5); from 5.0, before 6 (fixed in 6); from 6.0, before 7 (fixed in 7); from 7.0, before 8 (fixed in 8); from 8.0, before 9 (fixed in 9); from 9.0, before 10 (fixed in 10); …
Published 2024-03-19. Last modified 2026-06-17.