# CVE-2024-22025: Node.js 18 and 2 others: Improper Resource Shutdown or Release

CVE-2024-22025 is fixed in 27 products on 2 platforms, first by Node.js 18 18.19.1, released February 13, 2024. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2024-22025
- Priority: High
- CVSS: 7.5 (Important)
- EPSS: 0.0131
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Feb 29, 2024
- Weakness: CWE-404: Improper Resource Shutdown or Release
- Vendor advisory: https://nvd.nist.gov/vuln/detail/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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Windows apps | Node.js 18 | 18.19.1 | [Node.js 18 18.19.1](https://patchblox.com/security/data/fix/windows-app/openjs.nodejs.18-18.19.1.md) | Feb 13, 2024 |
| Windows apps | Node.js 20 | 20.11.1 | [Node.js 20 20.11.1](https://patchblox.com/security/data/fix/windows-app/openjs.nodejs.20-20.11.1.md) | Feb 13, 2024 |
| Windows apps | Node.js 21 | 21.6.2 | [Node.js 21 21.6.2](https://patchblox.com/security/data/fix/windows-app/openjs.nodejs.21-21.6.2.md) | Feb 13, 2024 |
| Linux | nodejs Debian 12.15 (bookworm) | 18.20.4+dfsg-1~deb12u1 | [DEBIAN-CVE-2024-22025](https://patchblox.com/security/data/fix/linux/debian-cve-2024-22025.md) | Mar 19, 2024 |
| Linux | nodejs Debian 13.5 (trixie) | 18.19.1+dfsg-1 | [DEBIAN-CVE-2024-22025](https://patchblox.com/security/data/fix/linux/debian-cve-2024-22025.md) | Mar 19, 2024 |
| Linux | nodejs Debian 14 | 18.19.1+dfsg-1 | [DEBIAN-CVE-2024-22025](https://patchblox.com/security/data/fix/linux/debian-cve-2024-22025.md) | Mar 19, 2024 |
| Linux | nodejs RHEL 8 | 1:18.20.2-1.module+el8.9.0+21767+537f34ee | [RHSA-2024:2780](https://patchblox.com/security/data/fix/linux/rhsa-2024-2780.md) | May 9, 2024 |
| Linux | nodejs RHEL 9 | 1:16.20.2-8.el9_4 | [RHSA-2024:2910](https://patchblox.com/security/data/fix/linux/rhsa-2024-2910.md) | May 20, 2024 |
| Linux | nodejs almalinux 8 | 1:18.20.2-1.module_el8.9.0+3828+c9fa9644 | [ALSA-2024:2780](https://patchblox.com/security/data/fix/linux/alsa-2024-2780.md) | May 9, 2024 |
| Linux | nodejs almalinux 9 | 1:16.20.2-8.el9_4 | [ALSA-2024:2910](https://patchblox.com/security/data/fix/linux/alsa-2024-2910.md) | May 20, 2024 |
| Linux | nodejs amzn 2023 | 1:18.18.2-1.amzn2023.0.3 | [ALAS2023-2024-568](https://patchblox.com/security/data/fix/linux/alas2023-2024-568.md) | Mar 13, 2024 |
| Linux | nodejs ol 8 | 1:18.20.2-1.module+el8.9.0+90319+0b1e7189 | [ELSA-2024-2780](https://patchblox.com/security/data/fix/linux/elsa-2024-2780.md) | May 10, 2024 |
| Linux | nodejs ol 9 | 1:18.20.2-1.module+el9.4.0+90321+c72a88c5 | [ELSA-2024-2779](https://patchblox.com/security/data/fix/linux/elsa-2024-2779.md) | May 14, 2024 |
| Linux | nodejs rocky 8 | 1:18.20.2-1.module+el8.9.0+1803+9ac8b495 | [RLSA-2024:2780](https://patchblox.com/security/data/fix/linux/rlsa-2024-2780.md) | May 9, 2024 |
| Linux | nodejs rocky 9 | 1:16.20.2-8.el9_4 | [RLSA-2024:2910](https://patchblox.com/security/data/fix/linux/rlsa-2024-2910.md) | Jun 14, 2024 |
| Linux | nodejs-debuginfo amzn 2023 | 1:18.18.2-1.amzn2023.0.3 | [ALAS2023-2024-568](https://patchblox.com/security/data/fix/linux/alas2023-2024-568.md) | Mar 13, 2024 |
| Linux | nodejs-debugsource amzn 2023 | 1:18.18.2-1.amzn2023.0.3 | [ALAS2023-2024-568](https://patchblox.com/security/data/fix/linux/alas2023-2024-568.md) | Mar 13, 2024 |
| Linux | nodejs-devel RHEL 8 | 1:18.20.2-1.module+el8.9.0+21767+537f34ee | [RHSA-2024:2780](https://patchblox.com/security/data/fix/linux/rhsa-2024-2780.md) | May 9, 2024 |
| Linux | nodejs-devel RHEL 9 | 1:20.12.2-2.module+el9.4.0+21731+46b5b8a7 | [RHSA-2024:2853](https://patchblox.com/security/data/fix/linux/rhsa-2024-2853.md) | May 15, 2024 |
| Linux | nodejs-devel almalinux 8 | 1:18.20.2-1.module_el8.9.0+3828+c9fa9644 | [ALSA-2024:2780](https://patchblox.com/security/data/fix/linux/alsa-2024-2780.md) | May 9, 2024 |
| Linux | nodejs-devel almalinux 9 | 1:20.12.2-2.module_el9.4.0+100+71fc9528 | [ALSA-2024:2853](https://patchblox.com/security/data/fix/linux/alsa-2024-2853.md) | May 15, 2024 |
| Linux | nodejs-devel amzn 2023 | 1:18.18.2-1.amzn2023.0.3 | [ALAS2023-2024-568](https://patchblox.com/security/data/fix/linux/alas2023-2024-568.md) | Mar 13, 2024 |
| Linux | nodejs-devel ol 8 | 1:18.20.2-1.module+el8.9.0+90319+0b1e7189 | [ELSA-2024-2780](https://patchblox.com/security/data/fix/linux/elsa-2024-2780.md) | May 10, 2024 |
| Linux | nodejs-devel ol 9 | 1:18.20.2-1.module+el9.4.0+90321+c72a88c5 | [ELSA-2024-2779](https://patchblox.com/security/data/fix/linux/elsa-2024-2779.md) | May 14, 2024 |
| Linux | nodejs-docs RHEL 8 | 1:18.20.2-1.module+el8.9.0+21767+537f34ee | [RHSA-2024:2780](https://patchblox.com/security/data/fix/linux/rhsa-2024-2780.md) | May 9, 2024 |
| Linux | nodejs-docs RHEL 9 | 1:16.20.2-8.el9_4 | [RHSA-2024:2910](https://patchblox.com/security/data/fix/linux/rhsa-2024-2910.md) | May 20, 2024 |
| Linux | nodejs-docs almalinux 8 | 1:18.20.2-1.module_el8.9.0+3828+c9fa9644 | [ALSA-2024:2780](https://patchblox.com/security/data/fix/linux/alsa-2024-2780.md) | May 9, 2024 |
| Linux | nodejs-docs almalinux 9 | 1:16.20.2-8.el9_4 | [ALSA-2024:2910](https://patchblox.com/security/data/fix/linux/alsa-2024-2910.md) | May 20, 2024 |
| Linux | nodejs-docs amzn 2023 | 1:18.18.2-1.amzn2023.0.3 | [ALAS2023-2024-568](https://patchblox.com/security/data/fix/linux/alas2023-2024-568.md) | Mar 13, 2024 |
| Linux | nodejs-docs ol 8 | 1:18.20.2-1.module+el8.9.0+90319+0b1e7189 | [ELSA-2024-2780](https://patchblox.com/security/data/fix/linux/elsa-2024-2780.md) | May 10, 2024 |
| Linux | nodejs-docs ol 9 | 1:18.20.2-1.module+el9.4.0+90321+c72a88c5 | [ELSA-2024-2779](https://patchblox.com/security/data/fix/linux/elsa-2024-2779.md) | May 14, 2024 |
| Linux | nodejs-full-i18n RHEL 8 | 1:18.20.2-1.module+el8.9.0+21767+537f34ee | [RHSA-2024:2780](https://patchblox.com/security/data/fix/linux/rhsa-2024-2780.md) | May 9, 2024 |
| Linux | nodejs-full-i18n RHEL 9 | 1:16.20.2-8.el9_4 | [RHSA-2024:2910](https://patchblox.com/security/data/fix/linux/rhsa-2024-2910.md) | May 20, 2024 |
| Linux | nodejs-full-i18n almalinux 8 | 1:18.20.2-1.module_el8.9.0+3828+c9fa9644 | [ALSA-2024:2780](https://patchblox.com/security/data/fix/linux/alsa-2024-2780.md) | May 9, 2024 |
| Linux | nodejs-full-i18n almalinux 9 | 1:16.20.2-8.el9_4 | [ALSA-2024:2910](https://patchblox.com/security/data/fix/linux/alsa-2024-2910.md) | May 20, 2024 |
| Linux | nodejs-full-i18n amzn 2023 | 1:18.18.2-1.amzn2023.0.3 | [ALAS2023-2024-568](https://patchblox.com/security/data/fix/linux/alas2023-2024-568.md) | Mar 13, 2024 |
| Linux | nodejs-full-i18n ol 8 | 1:18.20.2-1.module+el8.9.0+90319+0b1e7189 | [ELSA-2024-2780](https://patchblox.com/security/data/fix/linux/elsa-2024-2780.md) | May 10, 2024 |
| Linux | nodejs-full-i18n ol 9 | 1:18.20.2-1.module+el9.4.0+90321+c72a88c5 | [ELSA-2024-2779](https://patchblox.com/security/data/fix/linux/elsa-2024-2779.md) | May 14, 2024 |
| Linux | nodejs-libs RHEL 9 | 1:16.20.2-8.el9_4 | [RHSA-2024:2910](https://patchblox.com/security/data/fix/linux/rhsa-2024-2910.md) | May 20, 2024 |
| Linux | nodejs-libs almalinux 9 | 1:16.20.2-8.el9_4 | [ALSA-2024:2910](https://patchblox.com/security/data/fix/linux/alsa-2024-2910.md) | May 20, 2024 |
| Linux | nodejs-libs amzn 2023 | 1:18.18.2-1.amzn2023.0.3 | [ALAS2023-2024-568](https://patchblox.com/security/data/fix/linux/alas2023-2024-568.md) | Mar 13, 2024 |
| Linux | nodejs-libs ol 9 | 1:16.20.2-8.0.1.el9_4 | [ELSA-2024-2910](https://patchblox.com/security/data/fix/linux/elsa-2024-2910.md) | May 22, 2024 |
| Linux | nodejs-libs-debuginfo amzn 2023 | 1:18.18.2-1.amzn2023.0.3 | [ALAS2023-2024-568](https://patchblox.com/security/data/fix/linux/alas2023-2024-568.md) | Mar 13, 2024 |
| Linux | nodejs-nodemon RHEL 8 | 0:3.0.1-1.module+el8.9.0+21190+5ebd2c33 | [RHSA-2024:2780](https://patchblox.com/security/data/fix/linux/rhsa-2024-2780.md) | May 9, 2024 |
| Linux | nodejs-nodemon RHEL 9 | 0:3.0.1-1.module+el9.3.0.z+20478+84a9f781 | [RHSA-2024:2853](https://patchblox.com/security/data/fix/linux/rhsa-2024-2853.md) | May 15, 2024 |
| Linux | nodejs-nodemon almalinux 8 | 3.0.1-1.module_el8.8.0+3613+1ed8c91d | [ALSA-2024:2780](https://patchblox.com/security/data/fix/linux/alsa-2024-2780.md) | May 9, 2024 |
| Linux | nodejs-nodemon almalinux 9 | 3.0.1-1.module_el9.3.0+47+c33bc288 | [ALSA-2024:2853](https://patchblox.com/security/data/fix/linux/alsa-2024-2853.md) | May 15, 2024 |
| Linux | nodejs-nodemon ol 8 | 0:3.0.1-1.module+el8.9.0+90157+ed89dc20 | [ELSA-2024-2780](https://patchblox.com/security/data/fix/linux/elsa-2024-2780.md) | May 10, 2024 |
| Linux | nodejs-nodemon ol 9 | 0:3.0.1-1.module+el9.3.0+90167+01064547 | [ELSA-2024-2779](https://patchblox.com/security/data/fix/linux/elsa-2024-2779.md) | May 14, 2024 |
| Linux | nodejs-nodemon rocky 8 | 0:3.0.1-1.module+el8.8.0+1459+02651ab6 | [RLSA-2024:2780](https://patchblox.com/security/data/fix/linux/rlsa-2024-2780.md) | May 9, 2024 |
| Linux | nodejs-nodemon rocky 9 | 0:3.0.1-1.module+el9.5.0+31770+0da7192d | [RLSA-2024:2853](https://patchblox.com/security/data/fix/linux/rlsa-2024-2853.md) | Jun 14, 2024 |
| Linux | nodejs-npm amzn 2023 | 1:9.8.1-1.18.18.2.1.amzn2023.0.3 | [ALAS2023-2024-568](https://patchblox.com/security/data/fix/linux/alas2023-2024-568.md) | Mar 13, 2024 |
| Linux | nodejs-packaging RHEL 8 | 0:2021.06-4.module+el8.9.0+21190+5ebd2c33 | [RHSA-2024:2780](https://patchblox.com/security/data/fix/linux/rhsa-2024-2780.md) | May 9, 2024 |
| Linux | nodejs-packaging RHEL 9 | 0:2021.06-4.module+el9.3.0+19518+63aad52d | [RHSA-2024:2853](https://patchblox.com/security/data/fix/linux/rhsa-2024-2853.md) | May 15, 2024 |
| Linux | nodejs-packaging almalinux 8 | 2021.06-4.module_el8.7.0+3343+ea2b7901 | [ALSA-2024:2780](https://patchblox.com/security/data/fix/linux/alsa-2024-2780.md) | May 9, 2024 |
| Linux | nodejs-packaging almalinux 9 | 2021.06-4.module_el9.3.0+88+29afeaa2 | [ALSA-2024:2853](https://patchblox.com/security/data/fix/linux/alsa-2024-2853.md) | May 15, 2024 |
| Linux | nodejs-packaging ol 8 | 0:2021.06-4.module+el8.9.0+90157+ed89dc20 | [ELSA-2024-2780](https://patchblox.com/security/data/fix/linux/elsa-2024-2780.md) | May 10, 2024 |
| Linux | nodejs-packaging ol 9 | 0:2021.06-4.module+el9.1.0+20762+f52d7401 | [ELSA-2024-2779](https://patchblox.com/security/data/fix/linux/elsa-2024-2779.md) | May 14, 2024 |
| Linux | nodejs-packaging rocky 8 | 0:2021.06-4.module+el8.7.0+1072+5b168780 | [RLSA-2024:2780](https://patchblox.com/security/data/fix/linux/rlsa-2024-2780.md) | May 9, 2024 |
| Linux | nodejs-packaging rocky 9 | 0:2021.06-4.module+el9.5.0+31770+0da7192d | [RLSA-2024:2853](https://patchblox.com/security/data/fix/linux/rlsa-2024-2853.md) | Jun 14, 2024 |
| Linux | nodejs-packaging-bundler RHEL 8 | 0:2021.06-4.module+el8.9.0+21190+5ebd2c33 | [RHSA-2024:2780](https://patchblox.com/security/data/fix/linux/rhsa-2024-2780.md) | May 9, 2024 |
| Linux | nodejs-packaging-bundler RHEL 9 | 0:2021.06-4.module+el9.3.0+19518+63aad52d | [RHSA-2024:2853](https://patchblox.com/security/data/fix/linux/rhsa-2024-2853.md) | May 15, 2024 |
| Linux | nodejs-packaging-bundler almalinux 8 | 2021.06-4.module_el8.7.0+3343+ea2b7901 | [ALSA-2024:2780](https://patchblox.com/security/data/fix/linux/alsa-2024-2780.md) | May 9, 2024 |
| Linux | nodejs-packaging-bundler almalinux 9 | 2021.06-4.module_el9.3.0+88+29afeaa2 | [ALSA-2024:2853](https://patchblox.com/security/data/fix/linux/alsa-2024-2853.md) | May 15, 2024 |
| Linux | nodejs-packaging-bundler ol 8 | 0:2021.06-4.module+el8.9.0+90157+ed89dc20 | [ELSA-2024-2780](https://patchblox.com/security/data/fix/linux/elsa-2024-2780.md) | May 10, 2024 |
| Linux | nodejs-packaging-bundler ol 9 | 0:2021.06-4.module+el9.1.0+20762+f52d7401 | [ELSA-2024-2779](https://patchblox.com/security/data/fix/linux/elsa-2024-2779.md) | May 14, 2024 |
| Linux | nodejs20 amzn 2023 | 1:20.11.1-1.amzn2023.0.1 | [ALAS2023-2024-544](https://patchblox.com/security/data/fix/linux/alas2023-2024-544.md) | Feb 29, 2024 |
| Linux | nodejs20-debuginfo amzn 2023 | 1:20.11.1-1.amzn2023.0.1 | [ALAS2023-2024-544](https://patchblox.com/security/data/fix/linux/alas2023-2024-544.md) | Feb 29, 2024 |
| Linux | nodejs20-debugsource amzn 2023 | 1:20.11.1-1.amzn2023.0.1 | [ALAS2023-2024-544](https://patchblox.com/security/data/fix/linux/alas2023-2024-544.md) | Feb 29, 2024 |
| Linux | nodejs20-devel amzn 2023 | 1:20.11.1-1.amzn2023.0.1 | [ALAS2023-2024-544](https://patchblox.com/security/data/fix/linux/alas2023-2024-544.md) | Feb 29, 2024 |
| Linux | nodejs20-docs amzn 2023 | 1:20.11.1-1.amzn2023.0.1 | [ALAS2023-2024-544](https://patchblox.com/security/data/fix/linux/alas2023-2024-544.md) | Feb 29, 2024 |
| Linux | nodejs20-full-i18n amzn 2023 | 1:20.11.1-1.amzn2023.0.1 | [ALAS2023-2024-544](https://patchblox.com/security/data/fix/linux/alas2023-2024-544.md) | Feb 29, 2024 |
| Linux | nodejs20-libs amzn 2023 | 1:20.11.1-1.amzn2023.0.1 | [ALAS2023-2024-544](https://patchblox.com/security/data/fix/linux/alas2023-2024-544.md) | Feb 29, 2024 |
| Linux | nodejs20-libs-debuginfo amzn 2023 | 1:20.11.1-1.amzn2023.0.1 | [ALAS2023-2024-544](https://patchblox.com/security/data/fix/linux/alas2023-2024-544.md) | Feb 29, 2024 |
| Linux | nodejs20-npm amzn 2023 | 1:10.2.4-1.20.11.1.1.amzn2023.0.1 | [ALAS2023-2024-544](https://patchblox.com/security/data/fix/linux/alas2023-2024-544.md) | Feb 29, 2024 |
| Linux | npm RHEL 8 | 1:10.5.0-1.18.20.2.1.module+el8.9.0+21767+537f34ee | [RHSA-2024:2780](https://patchblox.com/security/data/fix/linux/rhsa-2024-2780.md) | May 9, 2024 |
| Linux | npm RHEL 9 | 1:8.19.4-1.16.20.2.8.el9_4 | [RHSA-2024:2910](https://patchblox.com/security/data/fix/linux/rhsa-2024-2910.md) | May 20, 2024 |
| Linux | npm almalinux 8 | 1:10.5.0-1.18.20.2.1.module_el8.9.0+3828+c9fa9644 | [ALSA-2024:2780](https://patchblox.com/security/data/fix/linux/alsa-2024-2780.md) | May 9, 2024 |
| Linux | npm almalinux 9 | 1:8.19.4-1.16.20.2.8.el9_4 | [ALSA-2024:2910](https://patchblox.com/security/data/fix/linux/alsa-2024-2910.md) | May 20, 2024 |
| Linux | npm ol 8 | 1:10.5.0-1.18.20.2.1.module+el8.9.0+90319+0b1e7189 | [ELSA-2024-2780](https://patchblox.com/security/data/fix/linux/elsa-2024-2780.md) | May 10, 2024 |
| Linux | npm ol 9 | 1:10.5.0-1.18.20.2.1.module+el9.4.0+90321+c72a88c5 | [ELSA-2024-2779](https://patchblox.com/security/data/fix/linux/elsa-2024-2779.md) | May 14, 2024 |
| Linux | v8-10.2-devel amzn 2023 | 3:10.2.154.26-1.18.18.2.1.amzn2023.0.3 | [ALAS2023-2024-568](https://patchblox.com/security/data/fix/linux/alas2023-2024-568.md) | Mar 13, 2024 |
| Linux | v8-11.3-devel amzn 2023 | 3:11.3.244.8-1.20.11.1.1.amzn2023.0.1 | [ALAS2023-2024-544](https://patchblox.com/security/data/fix/linux/alas2023-2024-544.md) | Feb 29, 2024 |

---

Data as of 2026-11-09T01:18:40Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
