CVEfocus › CVE database › CVE-2024-22025

CVE-2024-22025

CVSS 6.5 MediumEPSS 1.4% (higher than 73% of CVEs)Published 2024-03-19Updated 2025-11-04Assigner: hackerone

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.

CWE-404

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

43Fixed
5Fix pending
3Will not fix
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04nodejsNot affected
vulnerable_code_not_present
Ubuntu 25.10nodejsNot affected
vulnerable_code_not_present
Ubuntu 24.04nodejsNot affected
vulnerable_code_not_present
Ubuntu 22.04nodejsFix pendingUBUNTU-CVE-2024-22025
Ubuntu 20.04nodejsFix pendingUBUNTU-CVE-2024-22025
Ubuntu 18.04nodejsFix pendingUBUNTU-CVE-2024-22025
Ubuntu 16.04nodejsFix pendingUBUNTU-CVE-2024-22025
Ubuntu 14.04nodejsFix pendingUBUNTU-CVE-2024-22025
Debian 14nodejsFixed18.19.1+dfsg-1DEBIAN-CVE-2024-22025
Debian 13nodejsFixed18.19.1+dfsg-1DEBIAN-CVE-2024-22025
Debian 12nodejsFixed18.20.4+dfsg-1~deb12u1DEBIAN-CVE-2024-22025
Red Hat Enterprise Linux 9nodejsFixed1:18.20.2-2.module+el9.4.0+21742+692df1eaRHSA-2024:2853
Red Hat Enterprise Linux 9nodejs-develFixed1:20.12.2-2.module+el9.4.0+21731+46b5b8a7RHSA-2024:2779
Red Hat Enterprise Linux 9nodejs-docsFixed1:20.12.2-2.module+el9.4.0+21731+46b5b8a7RHSA-2024:2910
Red Hat Enterprise Linux 9nodejs-full-i18nFixed1:20.12.2-2.module+el9.4.0+21731+46b5b8a7RHSA-2024:2910
Red Hat Enterprise Linux 9nodejs-libsFixed1:16.20.2-8.el9_4RHSA-2024:2910
Red Hat Enterprise Linux 9nodejs-nodemonFixed0:3.0.1-1.module+el9.3.0.z+20478+84a9f781RHSA-2024:2779
Red Hat Enterprise Linux 9nodejs-packagingFixed0:2021.06-4.module+el9.3.0+19518+63aad52dRHSA-2024:2779
Red Hat Enterprise Linux 9nodejs-packaging-bundlerFixed0:2021.06-4.module+el9.1.0+15718+e52ec601RHSA-2024:2853
Red Hat Enterprise Linux 9npmFixed1:8.19.4-1.16.20.2.8.el9_4RHSA-2024:2779
Red Hat Enterprise Linux 8nodejsFixed
Will not fix
1:20.12.2-2.module+el8.9.0+21743+0b3f1be2RHSA-2024:2780
Red Hat Enterprise Linux 8nodejs-develFixed
Will not fix
1:20.12.2-2.module+el8.9.0+21743+0b3f1be2RHSA-2024:2780
Red Hat Enterprise Linux 8nodejs-docsFixed
Will not fix
1:20.12.2-2.module+el8.9.0+21743+0b3f1be2RHSA-2024:2780
Red Hat Enterprise Linux 8nodejs-full-i18nFixed
Will not fix
1:20.12.2-2.module+el8.9.0+21743+0b3f1be2RHSA-2024:2780
Red Hat Enterprise Linux 8nodejs-libsWill not fix
Will not fix
Red Hat Enterprise Linux 8nodejs-nodemonFixed
Will not fix
0:3.0.1-1.module+el8.9.0+21190+5ebd2c33RHSA-2024:2778
Red Hat Enterprise Linux 8nodejs-packagingFixed
Will not fix
0:2021.06-4.module+el8.9.0+21190+5ebd2c33RHSA-2024:2778
Red Hat Enterprise Linux 8nodejs-packaging-bundlerFixed
Will not fix
0:2021.06-4.module+el8.9.0+19519+e25b965aRHSA-2024:2780
Red Hat Enterprise Linux 8npmFixed
Will not fix
1:10.5.0-1.20.12.2.2.module+el8.9.0+21743+0b3f1be2RHSA-2024:2780
Red Hat Enterprise Linux 8v8-12.4-develWill not fix
Will not fix
Red Hat Enterprise Linux 8v8-13.6-develWill not fix
Will not fix
AlmaLinux 9nodejsFixed1:16.20.2-8.el9_4ALSA-2024:2853
AlmaLinux 9nodejs-develFixed1:20.12.2-2.module_el9.4.0+100+71fc9528ALSA-2024:2779
AlmaLinux 9nodejs-docsFixed1:16.20.2-8.el9_4ALSA-2024:2779
AlmaLinux 9nodejs-full-i18nFixed1:20.12.2-2.module_el9.4.0+100+71fc9528ALSA-2024:2910
AlmaLinux 9nodejs-libsFixed1:16.20.2-8.el9_4ALSA-2024:2910
AlmaLinux 9nodejs-nodemonFixed3.0.1-1.module_el9.2.0+36+853e48f5ALSA-2024:2853
AlmaLinux 9nodejs-packagingFixed2021.06-4.module_el9.3.0+88+29afeaa2ALSA-2024:2779
AlmaLinux 9nodejs-packaging-bundlerFixed2021.06-4.module_el9.1.0+13+d9a595eaALSA-2024:2853
AlmaLinux 9npmFixed1:10.5.0-1.18.20.2.2.module_el9.4.0+99+a01f7676ALSA-2024:2910
AlmaLinux 8nodejsFixed1:18.20.2-1.module_el8.9.0+3828+c9fa9644ALSA-2024:2778
AlmaLinux 8nodejs-develFixed1:20.12.2-2.module_el8.9.0+3827+11b91f3eALSA-2024:2780
AlmaLinux 8nodejs-docsFixed1:20.12.2-2.module_el8.9.0+3827+11b91f3eALSA-2024:2780
AlmaLinux 8nodejs-full-i18nFixed1:20.12.2-2.module_el8.9.0+3827+11b91f3eALSA-2024:2780
AlmaLinux 8nodejs-nodemonFixed3.0.1-1.module_el8.9.0+3731+490e3ce5ALSA-2024:2780
AlmaLinux 8nodejs-packagingFixed2021.06-4.module_el8.9.0+3684+11b9e959ALSA-2024:2780
AlmaLinux 8nodejs-packaging-bundlerFixed2021.06-4.module_el8.9.0+3684+11b9e959ALSA-2024:2780
AlmaLinux 8npmFixed1:10.5.0-1.20.12.2.2.module_el8.9.0+3827+11b91f3eALSA-2024:2780
Rocky Linux 9nodejsFixed1:16.20.2-8.el9_4RLSA-2024:2910
Rocky Linux 9nodejs-nodemonFixed0:3.0.1-1.module+el9.6.0+32185+bd121a25RLSA-2024:2779
Rocky Linux 9nodejs-packagingFixed0:2021.06-4.module+el9.5.0+31770+0da7192dRLSA-2024:2779
Rocky Linux 8nodejsFixed1:18.20.2-1.module+el8.9.0+1803+9ac8b495RLSA-2024:2778
Rocky Linux 8nodejs-nodemonFixed0:3.0.1-1.module+el8.8.0+1459+02651ab6RLSA-2024:2778
Rocky Linux 8nodejs-packagingFixed0:2021.06-4.module+el8.7.0+1072+5b168780RLSA-2024:2780

What the vendor says

As published in the CVE record by hackerone, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.