Skip to content
OpenAdvisories
High · 7.5 CVE-2024-22019 EUVD-2024-19625GHSA-prhj-8562-p8gj

A vulnerability in Node.js HTTP servers allows an attacker to send a specially crafted HTTP request with chunked encoding, leading to resou…

Published Feb 20, 2024 · Updated Nov 4, 2025 · Assigned by hackerone

Description

A vulnerability in Node.js HTTP servers allows an attacker to send a specially crafted HTTP request with chunked encoding, leading to resource exhaustion and denial of service (DoS). The server reads an unbounded number of bytes from a single connection, exploiting the lack of limitations on chunk extension bytes. The issue can cause CPU and network bandwidth exhaustion, bypassing standard safeguards like timeouts and body size limits.

Affected products

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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 nodejs 18.19.1+dfsg-1 —
Debian 13 nodejs 18.19.1+dfsg-1 —
Debian 12 nodejs 18.20.4+dfsg-1~deb12u1 DSA-5991-1
Debian 11 nodejs 12.22.12~dfsg-1~deb11u5 DLA-3886-1
ReleasePackageFixed inAdvisory
RHEL 9 nodejs +3 1:16.20.2-4.el9_3 RHSA-2024:1688, RHSA-2024:1503, RHSA-2024:1438
RHEL 9 nodejs-devel 1:18.19.1-1.module+el9.3.0+21388+22892fb9 RHSA-2024:1688, RHSA-2024:1503
RHEL 9 nodejs-nodemon 3.0.1-1.module+el9.3.0.z+20478+84a9f781 RHSA-2024:1688, RHSA-2024:1503
RHEL 9 nodejs-packaging +1 2021.06-4.module+el9.1.0+15718+e52ec601 RHSA-2024:1688, RHSA-2024:1503
RHEL 9 npm 1:8.19.4-1.16.20.2.4.el9_3 RHSA-2024:1688, RHSA-2024:1503, RHSA-2024:1438
RHEL 8 nodejs +3 1:16.20.2-4.module+el8.9.0+21536+8fdee1fb RHSA-2024:1687, RHSA-2024:1510, RHSA-2024:1444
RHEL 8 nodejs-nodemon 3.0.1-1.module+el8.9.0+19741+03a9aaff RHSA-2024:1687, RHSA-2024:1510, RHSA-2024:1444
RHEL 8 nodejs-packaging 26-1.module+el8.9.0+19858+c237a2cf RHSA-2024:1687, RHSA-2024:1510, RHSA-2024:1444
RHEL 8 nodejs-packaging-bundler 2021.06-4.module+el8.9.0+19519+e25b965a RHSA-2024:1687, RHSA-2024:1510
RHEL 8 npm 1:8.19.4-1.16.20.2.4.module+el8.9.0+21536+8fdee1fb RHSA-2024:1687, RHSA-2024:1510, RHSA-2024:1444
RHEL 3 rh-nodejs14-nodejs +3 14.21.3-6.el7 RHSA-2024:1354
RHEL 3 rh-nodejs14-npm 6.14.18-14.21.3.6.el7 RHSA-2024:1354
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.2 EUS nodejs +3 1:16.20.2-4.el9_2 RHSA-2024:1932, RHSA-2024:1678
RHEL 9.2 EUS nodejs-devel 1:18.19.1-1.module+el9.2.0+21594+a052107e RHSA-2024:1932
RHEL 9.2 EUS nodejs-nodemon 3.0.1-1.module+el9.2.0.z+19753+58118bc0 RHSA-2024:1932
RHEL 9.2 EUS nodejs-packaging +1 2021.06-4.module+el9.1.0+15718+e52ec601 RHSA-2024:1932
RHEL 9.2 EUS npm 1:8.19.4-1.16.20.2.4.el9_2 RHSA-2024:1932, RHSA-2024:1678
RHEL 9.0 EUS nodejs +3 1:16.20.2-4.el9_0 RHSA-2024:1424
RHEL 9.0 EUS npm 1:8.19.4-1.16.20.2.4.el9_0 RHSA-2024:1424
RHEL 8.8 EUS nodejs +3 1:16.20.2-4.module+el8.8.0+21546+ecd4bb56 RHSA-2024:2651, RHSA-2024:1880
RHEL 8.8 EUS nodejs-nodemon 3.0.1-1.module+el8.8.0+19757+8ca87034 RHSA-2024:2651, RHSA-2024:1880
RHEL 8.8 EUS nodejs-packaging 26-1.module+el8.8.0+19857+6d2a104d RHSA-2024:2651, RHSA-2024:1880
RHEL 8.8 EUS nodejs-packaging-bundler 2021.06-4.module+el8.7.0+15582+19c314fa RHSA-2024:1880
RHEL 8.8 EUS npm 1:8.19.4-1.16.20.2.4.module+el8.8.0+21546+ecd4bb56 RHSA-2024:2651, RHSA-2024:1880
RHEL 8.6 EUS nodejs +3 1:16.20.2-4.module+el8.6.0+21547+94389150 RHSA-2024:2793
RHEL 8.6 EUS nodejs-nodemon 3.0.1-1.module+el8.6.0+19765+366b9144 RHSA-2024:2793
RHEL 8.6 EUS nodejs-packaging 26-1.module+el8.6.0+19856+c0c87259 RHSA-2024:2793
RHEL 8.6 EUS npm 1:8.19.4-1.16.20.2.4.module+el8.6.0+21547+94389150 RHSA-2024:2793

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 nodejs +3 1:16.20.2-4.el9_3 ALSA-2024:1688, ALSA-2024:1503, ALSA-2024:1438
AlmaLinux 9 nodejs-devel 1:18.19.1-1.module_el9.3.0+59+28b95644 ALSA-2024:1688, ALSA-2024:1503
AlmaLinux 9 nodejs-nodemon 3.0.1-1.module_el9.2.0+36+853e48f5 ALSA-2024:1688, ALSA-2024:1503
AlmaLinux 9 nodejs-packaging +1 2021.06-4.module_el9.1.0+13+d9a595ea ALSA-2024:1688, ALSA-2024:1503
AlmaLinux 9 npm 1:8.19.4-1.16.20.2.4.el9_3 ALSA-2024:1688, ALSA-2024:1503, ALSA-2024:1438
AlmaLinux 8 nodejs +3 1:16.20.2-4.module_el8.9.0+3747+ead8229c ALSA-2024:1687, ALSA-2024:1510, ALSA-2024:1444
AlmaLinux 8 nodejs-nodemon 3.0.1-1.module_el8.8.0+3613+1ed8c91d ALSA-2024:1687, ALSA-2024:1510, ALSA-2024:1444
AlmaLinux 8 nodejs-packaging 26-1.module_el8.8.0+3614+204d6f43 ALSA-2024:1687, ALSA-2024:1510, ALSA-2024:1444
AlmaLinux 8 nodejs-packaging-bundler 2021.06-4.module_el8.7.0+3343+ea2b7901 ALSA-2024:1687, ALSA-2024:1510
AlmaLinux 8 npm 1:8.19.4-1.16.20.2.4.module_el8.9.0+3747+ead8229c ALSA-2024:1687, ALSA-2024:1510, ALSA-2024:1444

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 nodejs 1:16.20.2-4.el9_3 RLSA-2024:1438
Rocky Linux 9 nodejs-nodemon 3.0.1-1.module+el9.5.0+31770+0da7192d RLSA-2024:1688, RLSA-2024:1503
Rocky Linux 9 nodejs-packaging 2021.06-4.module+el9.5.0+31770+0da7192d RLSA-2024:1688, RLSA-2024:1503
Rocky Linux 8 nodejs 1:16.20.2-4.module+el8.9.0+1760+903d54b9 RLSA-2024:1687, RLSA-2024:1510, RLSA-2024:1444
Rocky Linux 8 nodejs-nodemon 3.0.1-1.module+el8.8.0+1459+02651ab6 RLSA-2024:1687, RLSA-2024:1510, RLSA-2024:1444
Rocky Linux 8 nodejs-packaging 26-1.module+el8.8.0+1461+f50bb75a RLSA-2024:1687, RLSA-2024:1510, RLSA-2024:1444
ReleasePackageFixed inAdvisory
SLES 15 SP5 nodejs18 18.19.1-150400.9.18.2 SUSE-SU-2024:0730-1
SLES 15 SP5 nodejs20 20.11.1-150500.11.6.1 SUSE-SU-2024:0643-1
SLES 15 SP4 nodejs16 16.20.2-150400.3.30.1 SUSE-SU-2024:0728-1
SLES 15 SP4 nodejs18 18.19.1-150400.9.18.2 SUSE-SU-2024:0730-1
SLES 15 SP3 nodejs12 12.22.12-150200.4.56.1 SUSE-SU-2024:0733-1
SLES 15 SP3 nodejs14 14.21.3-150200.15.55.1 SUSE-SU-2024:0732-1
SLES 15 SP3 nodejs16 16.20.2-150300.7.33.1 SUSE-SU-2024:0729-1
SLES 15 SP2 nodejs12 12.22.12-150200.4.56.1 SUSE-SU-2024:0733-1
SLES 15 SP2 nodejs14 14.21.3-150200.15.55.1 SUSE-SU-2024:0732-1
SLES 12 nodejs16 16.20.2-8.39.1 SUSE-SU-2024:0731-1
SLES 12 nodejs18 18.19.1-8.18.1 SUSE-SU-2024:0644-1
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP4 nodejs16 16.20.2-150400.3.30.1 SUSE-SU-2024:0728-1
SLES for SAP 15 SP4 nodejs18 18.19.1-150400.9.18.2 SUSE-SU-2024:0730-1
SLES for SAP 15 SP3 nodejs12 12.22.12-150200.4.56.1 SUSE-SU-2024:0733-1
SLES for SAP 15 SP3 nodejs14 14.21.3-150200.15.55.1 SUSE-SU-2024:0732-1
SLES for SAP 15 SP3 nodejs16 16.20.2-150300.7.33.1 SUSE-SU-2024:0729-1
SLES for SAP 15 SP2 nodejs12 12.22.12-150200.4.56.1 SUSE-SU-2024:0733-1
SLES for SAP 15 SP2 nodejs14 14.21.3-150200.15.55.1 SUSE-SU-2024:0732-1
SLE HPC 15 SP4 nodejs16 16.20.2-150400.3.30.1 SUSE-SU-2024:0728-1
SLE HPC 15 SP4 nodejs18 18.19.1-150400.9.18.2 SUSE-SU-2024:0730-1
SLE HPC 15 SP3 nodejs12 12.22.12-150200.4.56.1 SUSE-SU-2024:0733-1
SLE HPC 15 SP3 nodejs14 14.21.3-150200.15.55.1 SUSE-SU-2024:0732-1
SLE HPC 15 SP3 nodejs16 16.20.2-150300.7.33.1 SUSE-SU-2024:0729-1
SLE HPC 15 SP2 nodejs12 12.22.12-150200.4.56.1 SUSE-SU-2024:0733-1
SLE HPC 15 SP2 nodejs14 14.21.3-150200.15.55.1 SUSE-SU-2024:0732-1
SUSE Manager Server 4.3 nodejs16 16.20.2-150400.3.30.1 SUSE-SU-2024:0728-1
SUSE Manager Server 4.3 nodejs18 18.19.1-150400.9.18.2 SUSE-SU-2024:0730-1
SUSE Enterprise Storage 7.1 nodejs12 12.22.12-150200.4.56.1 SUSE-SU-2024:0733-1
SUSE Enterprise Storage 7.1 nodejs14 14.21.3-150200.15.55.1 SUSE-SU-2024:0732-1
SUSE Enterprise Storage 7.1 nodejs16 16.20.2-150300.7.33.1 SUSE-SU-2024:0729-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed nodejs20 20.11.1-1.1 openSUSE-SU-2024:13697-1
openSUSE Tumbleweed nodejs21 21.6.2-1.1 openSUSE-SU-2024:13698-1
openSUSE Leap 15.5 nodejs18 18.19.1-150400.9.18.2 SUSE-SU-2024:0730-1
openSUSE Leap 15.5 nodejs20 20.11.1-150500.11.6.1 SUSE-SU-2024:0643-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 nodejs +4 1:18.18.2-1.amzn2023.0.2 ALAS2023-2024-569
Amazon Linux 2023 nodejs-npm 1:9.8.1-1.18.18.2.1.amzn2023.0.2 ALAS2023-2024-569
Amazon Linux 2023 nodejs20 +4 1:20.11.1-1.amzn2023.0.1 ALAS2023-2024-544
Amazon Linux 2023 nodejs20-npm 1:10.2.4-1.20.11.1.1.amzn2023.0.1 ALAS2023-2024-544
Amazon Linux 2023 v8-10.2-devel 3:10.2.154.26-1.18.18.2.1.amzn2023.0.2 ALAS2023-2024-569
Amazon Linux 2023 v8-11.3-devel 3:11.3.244.8-1.20.11.1.1.amzn2023.0.1 ALAS2023-2024-544

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 nodejs 20.14.0-1 —
Azure Linux 2 (CBL-Mariner) nodejs18 18.20.2-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 nodejs +3 1:16.20.2-4.0.1.el9_3 ELSA-2024-1688, ELSA-2024-1503, ELSA-2024-1438
Oracle Linux 9 nodejs-devel 1:18.19.1-1.module+el9.3.0+90193+90aa0dae ELSA-2024-1688, ELSA-2024-1503
Oracle Linux 9 nodejs-nodemon 3.0.1-1.module+el9.3.0+90066+12d4a8d7 ELSA-2024-1688, ELSA-2024-1503
Oracle Linux 9 nodejs-packaging +1 2021.06-4.module+el9.1.0+20762+f52d7401 ELSA-2024-1688, ELSA-2024-1503
Oracle Linux 9 npm 1:8.19.4-1.16.20.2.4.0.1.el9_3 ELSA-2024-1688, ELSA-2024-1503, ELSA-2024-1438
Oracle Linux 8 nodejs +3 1:16.20.2-4.0.1.module+el8.9.0+90185+b2d3b544 ELSA-2024-1687, ELSA-2024-1510, ELSA-2024-1444
Oracle Linux 8 nodejs-nodemon 3.0.1-1.module+el8.9.0+90082+b6a613a6 ELSA-2024-1687, ELSA-2024-1510, ELSA-2024-1444
Oracle Linux 8 nodejs-packaging 26-1.module+el8.9.0+90185+b2d3b544 ELSA-2024-1687, ELSA-2024-1510, ELSA-2024-1444
Oracle Linux 8 nodejs-packaging-bundler 2021.06-4.module+el8.9.0+90082+b6a613a6 ELSA-2024-1687, ELSA-2024-1510
Oracle Linux 8 npm 1:8.19.4-1.16.20.2.4.0.1.module+el8.9.0+90185+b2d3b544 ELSA-2024-1687, ELSA-2024-1510, ELSA-2024-1444

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling nodejs-16 No fix yet —

Advisories 50

References