CVE-2024-22025
Published: February 16, 2024Last modified: May 22, 2024
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.
Severity score breakdown
Parameter | Value |
---|---|
Base score | 6.5 |
Attack Vector | NETWORK |
Attack complexity | LOW |
Privileges required | NONE |
User interaction | REQUIRED |
Scope | UNCHANGED |
Confidentiality | NONE |
Integrity impact | NONE |
Availability impact | HIGH |
Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Status
Product | Release | Package | Status |
---|---|---|---|
Alpaquita Linux | 23 LTS | nodejs | Fixed (18.19.1-r0) |
Stream | nodejs | Fixed (20.11.1-r0) | |
Liberica NIK | 23 (JDK 17) | standard (nodejs) | Fixed (23.0.4+1) |
23 (JDK 21) | standard (nodejs) | Fixed (23.1.3+2) | |
24 (JDK 22) | nodejs | Fixed (24.0.1+1) |
References
- https://github.com/nodejs/node/commit/c213910aea
- https://hackerone.com/reports/2284065
- https://lists.debian.org/debian-lts-announce/2024/03/msg00029.html
- https://security.netapp.com/advisory/ntap-20240517-0008/