cve.bz

CVE-2024-22025 nodejs node: Improper Resource Shutdown or Release

6.5 mediumEPSS 1.3%

Medium (6.5) in nodejs node. EPSS 1.3% estimated probability of exploitation activity in the next 30 days.

On this page
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

CVSS 3.0

6.5 medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
1.3% (unchanged from 1.3% a week ago; 1.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 71st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-08-21. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-404 Improper Resource Shutdown or Release
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-22025 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-22025?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-22025?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-22025 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
NodeJS Nodefrom 4.0 before 4.*
NodeJS Nodefrom 5.0 before 5.*
NodeJS Nodefrom 6.0 before 6.*
NodeJS Nodefrom 7.0 before 7.*
NodeJS Nodefrom 8.0 before 8.*
NodeJS Nodefrom 9.0 before 9.*
NodeJS Nodefrom 10.0 before 10.*
NodeJS Nodefrom 11.0 before 11.*
NodeJS Nodefrom 12.0 before 12.*
NodeJS Nodefrom 13.0 before 13.*
NodeJS Nodefrom 14.0 before 14.*
NodeJS Nodefrom 15.0 before 15.*
NodeJS Nodefrom 16.0 before 16.*
NodeJS Nodefrom 17.0 before 17.*
NodeJS Nodefrom 18.0 before 18.19.1
NodeJS Nodefrom 19.0 before 19.*
NodeJS Nodefrom 20.0 before 20.11.1
NodeJS Nodefrom 21.0 before 21.6.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10nodejs10.24.0~dfsg-1~deb10u4DLA-3776-1
Debian11nodejs12.22.12~dfsg-1~deb11u5DLA-3886-1
Debian12nodejs18.20.4+dfsg-1~deb12u1DEBIAN-CVE-2024-22025 DSA-5991-1
Debian13, 14nodejs18.19.1+dfsg-1DEBIAN-CVE-2024-22025
UbuntuPro:14.04:LTS, Pro:16.04:LTS, Pro:18.04:LTS and 2 morenodejsno fix listedUBUNTU-CVE-2024-22025
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:18.20.2-1.module+el8.9.0+21767+537f34eeRHSA-2024:2780
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:20.12.2-2.module+el8.9.0+21743+0b3f1be2RHSA-2024:2778
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:3.0.1-1.module+el8.9.0+20473+c4e3d824RHSA-2024:2778
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:3.0.1-1.module+el8.9.0+21190+5ebd2c33RHSA-2024:2780
Red Hatenterprise_linux:8::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-4.module+el8.9.0+19519+e25b965aRHSA-2024:2778
Red Hatenterprise_linux:8::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-4.module+el8.9.0+21190+5ebd2c33RHSA-2024:2780
Red Hatenterprise_linux:8::appstreamnpm1:10.5.0-1.18.20.2.1.module+el8.9.0+21767+537f34eeRHSA-2024:2780
Red Hatenterprise_linux:8::appstreamnpm1:10.5.0-1.20.12.2.2.module+el8.9.0+21743+0b3f1be2RHSA-2024:2778
Red Hatenterprise_linux:9::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:18.20.2-2.module+el9.4.0+21742+692df1eaRHSA-2024:2779
Red Hatenterprise_linux:9::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:20.12.2-2.module+el9.4.0+21731+46b5b8a7RHSA-2024:2853
Red Hatenterprise_linux:9::appstreamnodejs, nodejs-docs, nodejs-libs and 4 more1:16.20.2-8.el9_4RHSA-2024:2910
Red Hatenterprise_linux:9::appstreamnodejs-nodemon0:3.0.1-1.module+el9.3.0+19762+d716bf3bRHSA-2024:2779
10 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 4 morenodejs1212.22.12-150200.4.56.1SUSE-SU-2024:0733-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 4 morenodejs1414.21.3-150200.15.55.1SUSE-SU-2024:0732-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Server 15 SP3-LTSS and 1 morenodejs1616.20.2-150300.7.33.1SUSE-SU-2024:0729-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Module for Web and Scripting 15 SP5 and 3 morenodejs1818.19.1-150400.9.18.2SUSE-SU-2024:0730-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 2 morenodejs1616.20.2-150400.3.30.1SUSE-SU-2024:0728-1
SUSELinux Enterprise Module for Web and Scripting 12nodejs1616.20.2-8.39.1SUSE-SU-2024:0731-1
SUSELinux Enterprise Module for Web and Scripting 12nodejs1818.19.1-8.18.1SUSE-SU-2024:0644-1
SUSELinux Enterprise Module for Web and Scripting 15 SP5nodejs2020.11.1-150500.11.6.1SUSE-SU-2024:0643-1
openSUSELeap 15.5nodejs1818.19.1-150400.9.18.2SUSE-SU-2024:0730-1
openSUSELeap 15.5nodejs2020.11.1-150500.11.6.1SUSE-SU-2024:0643-1
openSUSETumbleweednodejs2020.11.1-1.1openSUSE-SU-2024:13697-1
openSUSETumbleweednodejs2121.6.2-1.1openSUSE-SU-2024:13698-1
AlmaLinux8nodejs, nodejs-docs, nodejs-devel and 1 more1:18.20.2-1.module_el8.9.0+3828+c9fa9644ALSA-2024:2780
AlmaLinux8nodejs, nodejs-docs, nodejs-devel and 1 more1:20.12.2-2.module_el8.9.0+3827+11b91f3eALSA-2024:2778
AlmaLinux8nodejs-nodemon3.0.1-1.module_el8.8.0+3613+1ed8c91dALSA-2024:2780
AlmaLinux8nodejs-nodemon3.0.1-1.module_el8.9.0+3731+490e3ce5ALSA-2024:2778
AlmaLinux8nodejs-packaging, nodejs-packaging-bundler2021.06-4.module_el8.7.0+3343+ea2b7901ALSA-2024:2780
AlmaLinux8nodejs-packaging, nodejs-packaging-bundler2021.06-4.module_el8.9.0+3684+11b9e959ALSA-2024:2778
AlmaLinux8npm1:10.5.0-1.18.20.2.1.module_el8.9.0+3828+c9fa9644ALSA-2024:2780
AlmaLinux8npm1:10.5.0-1.20.12.2.2.module_el8.9.0+3827+11b91f3eALSA-2024:2778
AlmaLinux9nodejs, nodejs-docs, nodejs-devel and 1 more1:18.20.2-2.module_el9.4.0+99+a01f7676ALSA-2024:2779
AlmaLinux9nodejs, nodejs-docs, nodejs-devel and 1 more1:20.12.2-2.module_el9.4.0+100+71fc9528ALSA-2024:2853
AlmaLinux9nodejs, nodejs-docs, nodejs-libs and 1 more1:16.20.2-8.el9_4ALSA-2024:2910
AlmaLinux9nodejs-nodemon3.0.1-1.module_el9.2.0+36+853e48f5ALSA-2024:2779
6 more for AlmaLinux in the JSON.
Rocky Linux8nodejs1:18.20.2-1.module+el8.9.0+1803+9ac8b495RLSA-2024:2780
Rocky Linux8nodejs1:20.12.2-2.module+el8.9.0+1804+2708cc21RLSA-2024:2778
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.8.0+1459+02651ab6RLSA-2024:2778 RLSA-2024:2780
Rocky Linux8nodejs-packaging0:2021.06-4.module+el8.7.0+1072+5b168780RLSA-2024:2778 RLSA-2024:2780
Rocky Linux9nodejs1:16.20.2-8.el9_4RLSA-2024:2910
Rocky Linux9nodejs-nodemon0:3.0.1-1.module+el9.5.0+31770+0da7192dRLSA-2024:2779 RLSA-2024:2853
Rocky Linux9nodejs-nodemon0:3.0.1-1.module+el9.6.0+32045+2e5d342dRLSA-2024:2779 RLSA-2024:2853
Rocky Linux9nodejs-nodemon0:3.0.1-1.module+el9.6.0+32143+ae966e5bRLSA-2024:2779 RLSA-2024:2853
Rocky Linux9nodejs-nodemon0:3.0.1-1.module+el9.6.0+32144+1d29a396RLSA-2024:2779 RLSA-2024:2853
Rocky Linux9nodejs-nodemon0:3.0.1-1.module+el9.6.0+32185+bd121a25RLSA-2024:2779 RLSA-2024:2853
Rocky Linux9nodejs-nodemon0:3.0.1-1.module+el9.6.0+32322+a8b1fd01RLSA-2024:2779 RLSA-2024:2853
Rocky Linux9nodejs-packaging0:2021.06-4.module+el9.5.0+31770+0da7192dRLSA-2024:2779 RLSA-2024:2853
6 more for Rocky Linux in the JSON.
Azure Linux2nodejs16.20.2-4AZL-35909
Azure Linux2nodejs1818.18.2-5AZL-35911
Azure Linux3nodejs20.14.0-1AZL-35898
Alpaquita23nodejs18.19.1-r0BELL-CVE-2024-22025
Alpaquitastreamnodejs20.11.1-r0BELL-CVE-2024-22025
BellSoft Hardened Containers23nodejs18.19.1-r0BELL-CVE-2024-22025
BellSoft Hardened Containersstreamnodejs20.11.1-r0BELL-CVE-2024-22025

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The identified flaw in Node.js, which involves the fetch() function always decoding Brotli content regardless of its source, represents a moderate severity issue due to its potential to facilitate denial of service attacks through resource exhaustion. This vulnerability allows malicious actors to manipulate the URL parameter passed into fetch(), exploiting the consistent Brotli decoding behavior to overwhelm system memory resources. While the impact is constrained to process termination, its severity is moderated by the requirement for specific conditions, such as untrusted URLs and system configurations.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8nodejs:20-8090020240422150739.a75119d5Fixed 2024-05-09RHSA-2024:2778
Red Hat Enterprise Linux 8nodejs:18-8090020240429131734.a75119d5Fixed 2024-05-09RHSA-2024:2780
Red Hat Enterprise Linux 9nodejs:18-9040020240422140329.rhel9Fixed 2024-05-09RHSA-2024:2779
Red Hat Enterprise Linux 9nodejs:20-9040020240419140200.rhel9Fixed 2024-05-15RHSA-2024:2853
Red Hat Enterprise Linux 9nodejs-1:16.20.2-8.el9_4Fixed 2024-05-20RHSA-2024:2910
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionsnodejs-1:16.20.2-9.el9_0Fixed 2024-07-23RHSA-2024:4721
Red Hat Enterprise Linux 9.2 Extended Update Supportnodejs-1:16.20.2-6.el9_2.3Fixed 2024-07-16RHSA-2024:4559
Red Hat Enterprise Linux 8nodejs:16/nodejsWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-22025.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-319-08Siemens SINEC INS2024-11-12MultipleSINEC INSnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-125 Flooding Likelihood: High · Severity: Medium
  • CAPEC-130 Excessive Allocation Likelihood: Medium · Severity: Medium
  • CAPEC-131 Resource Leak Exposure Likelihood: Medium · Severity: Medium
  • CAPEC-494 TCP Fragmentation
  • CAPEC-495 UDP Fragmentation
  • CAPEC-496 ICMP Fragmentation
  • CAPEC-666 BlueSmacking Likelihood: Medium · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON