Skip to content
Fencer Vulns
medium 6.5

CVE-2024-22025 json

A vulnerability in Node.js has been identified, allowing for a Denial of Service (DoS) attack through resource exhaustion when using the fe…

published 2024-03-19 2 y ago modified 2026-06-17 4 mo ago also BIT-node-2024-22025 , BIT-node-min-2024-22025 , EUVD-2024-19631

cvss
6.5
version 3.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.3%
EPSS 1.3% chance of exploitation in 30 days, percentile 70%
public exploits
0
none known

Summary

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.

Patch / fix

  • bitnami node 18.19.1, 20.11.1, 21.6.2
  • bitnami node-min 18.19.1, 20.11.1, 21.6.2
  • NodeJS Node 18.19.1, 20.11.1, 21.6.2
  • nodejs Debian 12 18.20.4+dfsg-1~deb12u1
  • nodejs Debian 14, Debian 13 18.19.1+dfsg-1

debian advisories DEBIAN-CVE-2024-22025

  • nodejs RHEL 9 1:16.20.2-8.el9_4
  • npm RHEL 9 1:8.19.4-1.16.20.2.8.el9_4
  • nodejs-libs RHEL 9 1:16.20.2-8.el9_4
  • nodejs-full-i18n RHEL 9 1:16.20.2-8.el9_4
  • npm RHEL 9 1:10.5.0-1.20.12.2.2.module+el9.4.0+21731+46b5b8a7
  • nodejs RHEL 9 1:20.12.2-2.module+el9.4.0+21731+46b5b8a7
  • nodejs-nodemon RHEL 9 3.0.1-1.module+el9.3.0.z+20478+84a9f781
  • nodejs-full-i18n RHEL 9 1:20.12.2-2.module+el9.4.0+21731+46b5b8a7

red hat advisories RHSA-2024:4721RHSA-2024:4559RHSA-2024:2910RHSA-2024:2853RHSA-2024:2780RHSA-2024:2778

  • nodejs12 SLES for SAP 15 SP3, SLES for SAP 15 SP2, SLES 15 SP3-LTSS +4 more 12.22.12-150200.4.56.1
  • nodejs14 SLES for SAP 15 SP3, SLES for SAP 15 SP2, SLES 15 SP3-LTSS +4 more 14.21.3-150200.15.55.1
  • nodejs16 SLE Module for Web and Scripting 12 16.20.2-8.39.1
  • nodejs18 SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Module for Web and Scripting 15 SP5 +4 more 18.19.1-150400.9.18.2
  • nodejs16 SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 16.20.2-150300.7.33.1
  • nodejs16 SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +2 more 16.20.2-150400.3.30.1
  • nodejs18 SLE Module for Web and Scripting 12 18.19.1-8.18.1
  • nodejs20 SLE Module for Web and Scripting 15 SP5, openSUSE Leap 15.5 20.11.1-150500.11.6.1

suse advisories SUSE-SU-2024:0733-1SUSE-SU-2024:0732-1SUSE-SU-2024:0731-1SUSE-SU-2024:0730-1SUSE-SU-2024:0729-1SUSE-SU-2024:0728-1

  • nodejs20 openSUSE Tumbleweed 20.11.1-1.1
  • nodejs21 openSUSE Tumbleweed 21.6.2-1.1

opensuse advisories openSUSE-SU-2024:13697-1openSUSE-SU-2024:13698-1

  • nodejs AlmaLinux 9 1:16.20.2-8.el9_4
  • npm AlmaLinux 9 1:8.19.4-1.16.20.2.8.el9_4
  • nodejs-libs AlmaLinux 9 1:16.20.2-8.el9_4
  • nodejs-full-i18n AlmaLinux 9 1:16.20.2-8.el9_4
  • npm AlmaLinux 9 1:10.5.0-1.20.12.2.2.module_el9.4.0+100+71fc9528
  • nodejs AlmaLinux 9 1:20.12.2-2.module_el9.4.0+100+71fc9528
  • nodejs-nodemon AlmaLinux 9 3.0.1-1.module_el9.3.0+47+c33bc288
  • nodejs-full-i18n AlmaLinux 9 1:20.12.2-2.module_el9.4.0+100+71fc9528

almalinux advisories ALSA-2024:2910ALSA-2024:2853ALSA-2024:2778ALSA-2024:2779ALSA-2024:2780

  • nodejs-nodemon Rocky Linux 9 3.0.1-1.module+el9.5.0+31770+0da7192d
  • nodejs-nodemon Rocky Linux 9 3.0.1-1.module+el9.6.0+32322+a8b1fd01
  • nodejs-nodemon Rocky Linux 9 3.0.1-1.module+el9.6.0+32045+2e5d342d
  • nodejs-nodemon Rocky Linux 9 3.0.1-1.module+el9.6.0+32143+ae966e5b
  • nodejs-nodemon Rocky Linux 9 3.0.1-1.module+el9.6.0+32144+1d29a396
  • nodejs-nodemon Rocky Linux 9 3.0.1-1.module+el9.6.0+32185+bd121a25
  • nodejs-packaging Rocky Linux 9 2021.06-4.module+el9.5.0+31770+0da7192d
  • nodejs-packaging Rocky Linux 9 2021.06-4.module+el9.6.0+32045+2e5d342d

rocky linux advisories RLSA-2024:2853RLSA-2024:2910RLSA-2024:2779RLSA-2024:2778RLSA-2024:2780

  • nodejs Azure Linux 3.0 20.14.0-1
  • nodejs CBL-Mariner 2.0 16.20.2-4
  • nodejs18 CBL-Mariner 2.0 18.18.2-5

azure linux advisories AZL-35898AZL-35909AZL-35911

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-22025 updated cvss 6.5

nodejs: using the fetch() function to retrieve content from an untrusted URL leads to denial of service

  • Red Hat Enterprise Linux 8 npm, nodejs, nodejs-libs, nodejs-nodemon, nodejs-full-i18n, nodejs-packaging, +1 more
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Enterprise Linux AppStream (v. 8) nodejs 18.20.2-1.module+el8.9.0+21767+537f34ee, nodejs 20.12.2-2.module+el8.9.0+21743+0b3f1be2, nodejs-nodemon 3.0.1-1.module+el8.9.0+20473+c4e3d824, nodejs-nodemon 3.0.1-1.module+el8.9.0+21190+5ebd2c33, npm 10.5.0-1.18.20.2.1.module+el8.9.0+21767+537f34ee, npm 10.5.0-1.20.12.2.2.module+el8.9.0+21743+0b3f1be2, +6 more
    fixed: vendor fix RHSA-2024:2780
  • Red Hat Enterprise Linux AppStream (v. 9) nodejs 16.20.2-8.el9_4, nodejs-libs 16.20.2-8.el9_4, npm 8.19.4-1.16.20.2.8.el9_4, nodejs-full-i18n 16.20.2-8.el9_4, nodejs 18.20.2-2.module+el9.4.0+21742+692df1ea, nodejs 20.12.2-2.module+el9.4.0+21731+46b5b8a7, +10 more
    fixed: vendor fix RHSA-2024:2910
  • Red Hat Enterprise Linux AppStream E4S (v.9.0) nodejs 16.20.2-9.el9_0, nodejs-libs 16.20.2-9.el9_0, npm 8.19.4-1.16.20.2.9.el9_0, nodejs-full-i18n 16.20.2-9.el9_0
    fixed: vendor fix RHSA-2024:4721
  • Red Hat Enterprise Linux AppStream EUS (v.9.2) nodejs 16.20.2-6.el9_2.3, nodejs-libs 16.20.2-6.el9_2.3, npm 8.19.4-1.16.20.2.6.el9_2.3, nodejs-full-i18n 16.20.2-6.el9_2.3
    fixed: vendor fix RHSA-2024:4559

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

1.31% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.0 6.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
OSV 3.0 6.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
bitnami node
<18.19.1
>=19.0.0, <20.11.1
>=21.0.0, <21.6.2
18.19.1
20.11.1
21.6.2
bitnami node-min
<18.19.1
>=19.0.0, <20.11.1
>=21.0.0, <21.6.2
18.19.1
20.11.1
21.6.2

Affected products

  • NodeJS Node

Classification

Weakness
  • CWE-404 Improper Resource Shutdown or Release
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.