CVE-2024-22025
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.
How to fix CVE-2024-22025
To remediate CVE-2024-22025, upgrade the affected package to a fixed version below.
- —upgrade to 18.19.1 or later
- —upgrade to 18.19.1 or later
- —upgrade to 12.22.12~dfsg-1~deb11u5 or later
Is CVE-2024-22025 being exploited?
Low — EPSS is 0.6%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 18.19.1, >= 19.0.0, < 20.11.1, >= 21.0.0, < 21.6.2
- from 0, < 18.19.1, >= 19.0.0, < 20.11.1, >= 21.0.0, < 21.6.2
- from 0, < 12.22.12~dfsg-1~deb11u5
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |