Skip to content
OpenAdvisories
Medium · 6.5 CVE-2024-27982 EUVD-2024-25156GHSA-hg6j-8h7m-3w3j

The team has identified a critical vulnerability in the http server of the most recent version of Node, where malformed headers can lead to…

Published May 7, 2024 · Updated Nov 4, 2025 · Assigned by hackerone

Description

The team has identified a critical vulnerability in the http server of the most recent version of Node, where malformed headers can lead to HTTP request smuggling. Specifically, if a space is placed before a content-length header, it is not interpreted correctly, enabling attackers to smuggle in a second request within the body of the first.

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.20.1, 19.0 – < 19.*, 20.0 – < 20.12.1, 21.0 – < 21.7.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.20.1+dfsg-1 —
Debian 13 nodejs 18.20.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
Ubuntu 24.04 LTS nodejs No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS nodejs No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 nodejs +3 1:16.20.2-8.el9_4 RHSA-2024:2910, RHSA-2024:2853, RHSA-2024:2779
RHEL 9 nodejs-devel 1:18.20.2-2.module+el9.4.0+21742+692df1ea RHSA-2024:2853, RHSA-2024:2779
RHEL 9 nodejs-nodemon 3.0.1-1.module+el9.3.0.z+20478+84a9f781 RHSA-2024:2853, RHSA-2024:2779
RHEL 9 nodejs-packaging +1 2021.06-4.module+el9.1.0+15718+e52ec601 RHSA-2024:2853, RHSA-2024:2779
RHEL 9 npm 1:8.19.4-1.16.20.2.8.el9_4 RHSA-2024:2910, RHSA-2024:2853, RHSA-2024:2779
RHEL 8 nodejs +3 1:18.20.2-1.module+el8.9.0+21767+537f34ee RHSA-2024:2780, RHSA-2024:2778
RHEL 8 nodejs-nodemon 3.0.1-1.module+el8.9.0+20473+c4e3d824 RHSA-2024:2780, RHSA-2024:2778
RHEL 8 nodejs-packaging +1 2021.06-4.module+el8.9.0+19519+e25b965a RHSA-2024:2780, RHSA-2024:2778
RHEL 8 npm 1:10.5.0-1.18.20.2.1.module+el8.9.0+21767+537f34ee RHSA-2024:2780, RHSA-2024:2778
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.2 EUS nodejs +3 1:16.20.2-6.el9_2.3 RHSA-2024:4559
RHEL 9.2 EUS npm 1:8.19.4-1.16.20.2.6.el9_2.3 RHSA-2024:4559
RHEL 9.0 EUS nodejs +3 1:16.20.2-6.el9_0 RHSA-2024:3545
RHEL 9.0 EUS npm 1:8.19.4-1.16.20.2.6.el9_0 RHSA-2024:3545

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 nodejs +3 1:16.20.2-8.el9_4 ALSA-2024:2910, ALSA-2024:2853, ALSA-2024:2779
AlmaLinux 9 nodejs-devel 1:18.20.2-2.module_el9.4.0+99+a01f7676 ALSA-2024:2853, ALSA-2024:2779
AlmaLinux 9 nodejs-nodemon 3.0.1-1.module_el9.2.0+36+853e48f5 ALSA-2024:2853, ALSA-2024:2779
AlmaLinux 9 nodejs-packaging +1 2021.06-4.module_el9.1.0+13+d9a595ea ALSA-2024:2853, ALSA-2024:2779
AlmaLinux 9 npm 1:8.19.4-1.16.20.2.8.el9_4 ALSA-2024:2910, ALSA-2024:2853, ALSA-2024:2779
AlmaLinux 8 nodejs +3 1:18.20.2-1.module_el8.9.0+3828+c9fa9644 ALSA-2024:2780, ALSA-2024:2778
AlmaLinux 8 nodejs-nodemon 3.0.1-1.module_el8.8.0+3613+1ed8c91d ALSA-2024:2780, ALSA-2024:2778
AlmaLinux 8 nodejs-packaging +1 2021.06-4.module_el8.7.0+3343+ea2b7901 ALSA-2024:2780, ALSA-2024:2778
AlmaLinux 8 npm 1:10.5.0-1.18.20.2.1.module_el8.9.0+3828+c9fa9644 ALSA-2024:2780, ALSA-2024:2778

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 nodejs 1:16.20.2-8.el9_4 RLSA-2024:2910
Rocky Linux 9 nodejs-nodemon 3.0.1-1.module+el9.5.0+31770+0da7192d RLSA-2024:2853, RLSA-2024:2779
Rocky Linux 9 nodejs-packaging 2021.06-4.module+el9.5.0+31770+0da7192d RLSA-2024:2853, RLSA-2024:2779
Rocky Linux 8 nodejs 1:18.20.2-1.module+el8.9.0+1803+9ac8b495 RLSA-2024:2780, RLSA-2024:2778
Rocky Linux 8 nodejs-nodemon 3.0.1-1.module+el8.8.0+1459+02651ab6 RLSA-2024:2780, RLSA-2024:2778
Rocky Linux 8 nodejs-packaging 2021.06-4.module+el8.7.0+1072+5b168780 RLSA-2024:2780, RLSA-2024:2778
ReleasePackageFixed inAdvisory
SLES 15 SP5 nodejs18 18.20.1-150400.9.21.3 SUSE-SU-2024:1309-1
SLES 15 SP5 nodejs20 20.12.1-150500.11.9.2 SUSE-SU-2024:1301-1
SLES 15 SP4 nodejs16 16.20.2-150400.3.33.1 SUSE-SU-2024:1308-1
SLES 15 SP4 nodejs18 18.20.1-150400.9.21.3 SUSE-SU-2024:1309-1
SLES 15 SP3 nodejs12 12.22.12-150200.4.59.1 SUSE-SU-2024:1346-1
SLES 15 SP3 nodejs14 14.21.3-150200.15.58.1 SUSE-SU-2024:1355-1
SLES 15 SP3 nodejs16 16.20.2-150300.7.36.2 SUSE-SU-2024:1306-1
SLES 15 SP2 nodejs12 12.22.12-150200.4.59.1 SUSE-SU-2024:1346-1
SLES 15 SP2 nodejs14 14.21.3-150200.15.58.1 SUSE-SU-2024:1355-1
SLES 12 nodejs16 16.20.2-8.42.1 SUSE-SU-2024:1305-1
SLES 12 nodejs18 18.20.1-8.21.1 SUSE-SU-2024:1307-1
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP4 nodejs16 16.20.2-150400.3.33.1 SUSE-SU-2024:1308-1
SLES for SAP 15 SP4 nodejs18 18.20.1-150400.9.21.3 SUSE-SU-2024:1309-1
SLES for SAP 15 SP3 nodejs12 12.22.12-150200.4.59.1 SUSE-SU-2024:1346-1
SLES for SAP 15 SP3 nodejs14 14.21.3-150200.15.58.1 SUSE-SU-2024:1355-1
SLES for SAP 15 SP3 nodejs16 16.20.2-150300.7.36.2 SUSE-SU-2024:1306-1
SLES for SAP 15 SP2 nodejs12 12.22.12-150200.4.59.1 SUSE-SU-2024:1346-1
SLES for SAP 15 SP2 nodejs14 14.21.3-150200.15.58.1 SUSE-SU-2024:1355-1
SLE HPC 15 SP4 nodejs16 16.20.2-150400.3.33.1 SUSE-SU-2024:1308-1
SLE HPC 15 SP4 nodejs18 18.20.1-150400.9.21.3 SUSE-SU-2024:1309-1
SLE HPC 15 SP3 nodejs12 12.22.12-150200.4.59.1 SUSE-SU-2024:1346-1
SLE HPC 15 SP3 nodejs14 14.21.3-150200.15.58.1 SUSE-SU-2024:1355-1
SLE HPC 15 SP3 nodejs16 16.20.2-150300.7.36.2 SUSE-SU-2024:1306-1
SLE HPC 15 SP2 nodejs12 12.22.12-150200.4.59.1 SUSE-SU-2024:1346-1
SLE HPC 15 SP2 nodejs14 14.21.3-150200.15.58.1 SUSE-SU-2024:1355-1
SUSE Manager Server 4.3 nodejs16 16.20.2-150400.3.33.1 SUSE-SU-2024:1308-1
SUSE Manager Server 4.3 nodejs18 18.20.1-150400.9.21.3 SUSE-SU-2024:1309-1
SUSE Enterprise Storage 7.1 nodejs12 12.22.12-150200.4.59.1 SUSE-SU-2024:1346-1
SUSE Enterprise Storage 7.1 nodejs14 14.21.3-150200.15.58.1 SUSE-SU-2024:1355-1
SUSE Enterprise Storage 7.1 nodejs16 16.20.2-150300.7.36.2 SUSE-SU-2024:1306-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed nodejs20 20.12.1-1.1 openSUSE-SU-2024:13851-1
openSUSE Tumbleweed nodejs21 21.7.2-1.1 openSUSE-SU-2024:13852-1
openSUSE Leap 15.5 nodejs18 18.20.1-150400.9.21.3 SUSE-SU-2024:1309-1
openSUSE Leap 15.5 nodejs20 20.12.1-150500.11.9.2 SUSE-SU-2024:1301-1
ReleasePackageFixed inAdvisory
Alpine v3.24 llhttp 9.2.1-r0 —
Alpine v3.24 nodejs 20.12.1-r0 —
Alpine v3.24 nodejs-current 21.7.2-r0 —
Alpine v3.23 llhttp 9.2.1-r0 —
Alpine v3.23 nodejs 20.12.1-r0 —
Alpine v3.23 nodejs-current 21.7.2-r0 —
Alpine v3.22 llhttp 9.2.1-r0 —
Alpine v3.22 nodejs 20.12.1-r0 —
Alpine v3.22 nodejs-current 21.7.2-r0 —
Alpine v3.21 llhttp 9.2.1-r0 —
Alpine v3.21 nodejs 20.12.1-r0 —
Alpine v3.21 nodejs-current 21.7.2-r0 —
Alpine v3.20 nodejs 20.12.1-r0 —
Alpine v3.20 nodejs-current 21.7.2-r0 —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 nodejs 20.12.1-r0 —
Alpine v3.19 nodejs-current 21.7.2-r0 —
Alpine v3.18 nodejs 18.20.1-r0 —
Alpine v3.17 nodejs 18.20.1-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 nodejs +4 1:18.20.2-1.amzn2023.0.1 ALAS2023-2024-694
Amazon Linux 2023 nodejs-npm 1:10.5.0-1.18.20.2.1.amzn2023.0.1 ALAS2023-2024-694
Amazon Linux 2023 nodejs20 +4 1:20.12.2-1.amzn2023.0.2 ALAS2023-2024-594
Amazon Linux 2023 nodejs20-npm 1:10.5.0-1.20.12.2.1.amzn2023.0.2 ALAS2023-2024-594
Amazon Linux 2023 v8-10.2-devel 3:10.2.154.26-1.18.20.2.1.amzn2023.0.1 ALAS2023-2024-694
Amazon Linux 2023 v8-11.3-devel 3:11.3.244.8-1.20.12.2.1.amzn2023.0.2 ALAS2023-2024-594

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-8.0.1.el9_4 ELSA-2024-2910, ELSA-2024-2853, ELSA-2024-2779
Oracle Linux 9 nodejs-devel 1:18.20.2-1.module+el9.4.0+90321+c72a88c5 ELSA-2024-2853, ELSA-2024-2779
Oracle Linux 9 nodejs-nodemon 3.0.1-1.module+el9.3.0+90066+12d4a8d7 ELSA-2024-2853, ELSA-2024-2779
Oracle Linux 9 nodejs-packaging +1 2021.06-4.module+el9.1.0+20762+f52d7401 ELSA-2024-2853, ELSA-2024-2779
Oracle Linux 9 npm 1:8.19.4-1.16.20.2.8.0.1.el9_4 ELSA-2024-2910, ELSA-2024-2853, ELSA-2024-2779
Oracle Linux 8 nodejs +3 1:18.20.2-1.module+el8.9.0+90319+0b1e7189 ELSA-2024-2780, ELSA-2024-2778
Oracle Linux 8 nodejs-nodemon 3.0.1-1.module+el8.9.0+90082+b6a613a6 ELSA-2024-2780, ELSA-2024-2778
Oracle Linux 8 nodejs-packaging +1 2021.06-4.module+el8.9.0+90082+b6a613a6 ELSA-2024-2780, ELSA-2024-2778
Oracle Linux 8 npm 1:10.5.0-1.18.20.2.1.module+el8.9.0+90319+0b1e7189 ELSA-2024-2780, ELSA-2024-2778

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling nodejs-16 No fix yet —

Advisories 40

References