What’s Vulnerable › Vulnerabilities
CVE-2024-22025
- Severity: medium (CVSS 6.5 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-03-19 · updated 2026-06-17
- Weakness: CWE-404
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.
Affected products
- Node.js: 4.x from 4.0; 5.x from 5.0; 6.x from 6.0; 7.x from 7.0; 8.x from 8.0; 9.x from 9.0 — fixed in 18.19.1, 20.11.1, 21.6.2
How to fix
Upgrade to a fixed version: Node.js 18.19.1, 20.11.1, 21.6.2. Check the vendor advisory for mitigations.
References
- https://hackerone.com/reports/2284065
- https://lists.debian.org/debian-lts-announce/2024/03/msg00029.html
- https://security.netapp.com/advisory/ntap-20240517-0008/
- https://hackerone.com/reports/2284065
- https://lists.debian.org/debian-lts-announce/2024/03/msg00029.html
- https://lists.debian.org/debian-lts-announce/2024/09/msg00029.html
- https://security.netapp.com/advisory/ntap-20240517-0008/
Get alerted when CVE-2024-22025 or the next vulnerability affects your stack