Skip to content
OpenAdvisories
Medium · 6.5 CVE-2022-35256 EUVD-2022-38147GHSA-rc2m-q589-vpqx

The llhttp parser in the http module in Node v18.7.0 does not correctly handle header fields that are not terminated with CLRF. This may re…

Published Dec 5, 2022 · Updated Apr 30, 2025 · Assigned by hackerone

Description

The llhttp parser in the http module in Node v18.7.0 does not correctly handle header fields that are not terminated with CLRF. This may result in HTTP Request Smuggling.

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.20.1, 15.0 – < 15.*, 16.0 – < 16.17.1, 17.0 – < 17.*, 18.0 – < 18.9.1 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.10.0+dfsg-1 —
Debian 13 nodejs 18.10.0+dfsg-1 —
Debian 12 nodejs 18.10.0+dfsg-1 —
Debian 11 nodejs 12.22.12~dfsg-1~deb11u3 DSA-5326-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS nodejs 12.22.9~dfsg-1ubuntu3.2 USN-6491-1
Ubuntu 20.04 LTS nodejs 10.19.0~dfsg-3ubuntu1.3 USN-6491-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS nodejs 8.10.0~dfsg-2ubuntu0.4+esm4 USN-6491-1
ReleasePackageFixed inAdvisory
RHEL 9 nodejs +3 1:16.17.1-1.el9_0 RHSA-2023:0321, RHSA-2022:6963
RHEL 9 nodejs-nodemon 2.0.20-2.el9_1 RHSA-2023:0321
RHEL 9 npm 1:8.15.0-1.16.17.1.1.el9_0 RHSA-2023:0321, RHSA-2022:6963
RHEL 8 nodejs +3 1:14.20.1-2.module+el8.7.0+16991+b0a68a3e RHSA-2022:7830, RHSA-2022:7821, RHSA-2022:6964
RHEL 8 nodejs-nodemon 2.0.19-1.module+el8.7.0+16061+0a247725 RHSA-2022:7830, RHSA-2022:7821, RHSA-2022:6964
RHEL 8 nodejs-packaging 23-3.module+el8.3.0+6519+9f98ed83 RHSA-2022:7830, RHSA-2022:7821, RHSA-2022:6964
RHEL 8 nodejs-packaging-bundler 2021.06-4.module+el8.7.0+15582+19c314fa RHSA-2022:7821
RHEL 8 npm 1:6.14.17-1.14.20.1.2.module+el8.7.0+16991+b0a68a3e RHSA-2022:7830, RHSA-2022:7821, RHSA-2022:6964
RHEL 3 rh-nodejs14-nodejs +2 14.20.1-2.el7 RHSA-2022:7044
RHEL 3 rh-nodejs14-npm 6.14.17-14.20.1.2.el7 RHSA-2022:7044
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.6 EUS nodejs +3 1:14.21.3-1.module+el8.6.0+18532+cbe6f646 RHSA-2023:1742
RHEL 8.6 EUS nodejs-nodemon 2.0.20-3.module+el8.6.0+18532+cbe6f646 RHSA-2023:1742
RHEL 8.6 EUS nodejs-packaging 23-3.module+el8.3.0+6519+9f98ed83 RHSA-2023:1742
RHEL 8.6 EUS npm 1:6.14.18-1.14.21.3.1.module+el8.6.0+18532+cbe6f646 RHSA-2023:1742
RHEL 8.4 EUS nodejs +3 1:14.21.3-1.module+el8.4.0+18317+43f5ac16 RHSA-2023:1533
RHEL 8.4 EUS nodejs-nodemon 2.0.20-3.module+el8.4.0+18317+43f5ac16 RHSA-2023:1533
RHEL 8.4 EUS nodejs-packaging 23-3.module+el8.3.0+6519+9f98ed83 RHSA-2023:1533
RHEL 8.4 EUS npm 1:6.14.18-1.14.21.3.1.module+el8.4.0+18317+43f5ac16 RHSA-2023:1533

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 nodejs +3 1:16.17.1-1.el9_0 ALSA-2023:0321, ALSA-2022:6963
AlmaLinux 9 nodejs-nodemon 2.0.20-2.el9_1 ALSA-2023:0321
AlmaLinux 9 npm 1:8.15.0-1.16.17.1.1.el9_0 ALSA-2023:0321, ALSA-2022:6963
AlmaLinux 8 nodejs +3 1:14.20.1-2.module_el8.7.0+3342+b2df8497 ALSA-2022:7830, ALSA-2022:7821, ALSA-2022:6964
AlmaLinux 8 nodejs-nodemon 2.0.19-1.module_el8.7.0+3343+ea2b7901 ALSA-2022:7830, ALSA-2022:7821, ALSA-2022:6964
AlmaLinux 8 nodejs-packaging 23-3.module_el8.4.0+2522+3bd42762 ALSA-2022:7830, ALSA-2022:7821, ALSA-2022:6964
AlmaLinux 8 nodejs-packaging-bundler 2021.06-4.module_el8.7.0+3343+ea2b7901 ALSA-2022:7821
AlmaLinux 8 npm 1:6.14.17-1.14.20.1.2.module_el8.7.0+3342+b2df8497 ALSA-2022:7830, ALSA-2022:7821, ALSA-2022:6964

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 nodejs 1:16.17.1-1.el9_0 RLSA-2023:0321, RLSA-2022:6963
Rocky Linux 9 nodejs-nodemon 2.0.20-2.el9_1 RLSA-2023:0321
Rocky Linux 8 nodejs 1:14.20.1-2.module+el8.7.0+1071+4bdda2a8 RLSA-2022:7830, RLSA-2022:7821, RLSA-2022:6964
Rocky Linux 8 nodejs-nodemon 2.0.19-1.module+el8.7.0+1072+5b168780 RLSA-2022:7830, RLSA-2022:7821, RLSA-2022:6964
Rocky Linux 8 nodejs-packaging 23-3.module+el8.3.0+100+234774f7 RLSA-2022:7830, RLSA-2022:7821, RLSA-2022:6964
ReleasePackageFixed inAdvisory
SLES 15 SP4 nodejs16 16.17.1-150400.3.9.1 SUSE-SU-2022:3656-1
SLES 15 SP4 nodejs18 18.13.0-150400.9.3.1 SUSE-SU-2023:0419-1
SLES 15 SP3 nodejs12 12.22.12-150200.4.38.1 SUSE-SU-2022:3616-1
SLES 15 SP3 nodejs14 14.20.1-150200.15.37.1 SUSE-SU-2022:3614-1
SLES 15 SP3 nodejs16 16.17.1-150300.7.12.1 SUSE-SU-2022:3615-1
SLES 12 nodejs12 12.22.12-1.54.1 SUSE-SU-2022:3503-1
SLES 12 nodejs14 14.20.1-6.34.1 SUSE-SU-2022:3516-1
SLES 12 nodejs16 16.17.1-8.12.1 SUSE-SU-2022:3524-1
SLES 12 nodejs18 18.13.0-8.3.1 SUSE-SU-2023:0408-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed nodejs16 16.17.1-1.1 openSUSE-SU-2024:12370-1
openSUSE Tumbleweed nodejs18 18.10.0-1.1 openSUSE-SU-2024:12376-1
openSUSE Leap 15.5 nodejs18 18.13.0-150400.9.3.1 SUSE-SU-2023:0419-1
openSUSE Leap 15.4 nodejs10 10.24.1-150000.1.50.1 SUSE-SU-2022:3835-1
openSUSE Leap 15.4 nodejs12 12.22.12-150200.4.38.1 SUSE-SU-2022:3616-1
openSUSE Leap 15.4 nodejs14 14.20.1-150200.15.37.1 SUSE-SU-2022:3614-1
openSUSE Leap 15.4 nodejs16 16.17.1-150400.3.9.1 SUSE-SU-2022:3656-1
openSUSE Leap 15.4 nodejs18 18.13.0-150400.9.3.1 SUSE-SU-2023:0419-1
openSUSE Leap 15.3 nodejs10 10.24.1-150000.1.50.1 SUSE-SU-2022:3835-1
openSUSE Leap 15.3 nodejs12 12.22.12-150200.4.38.1 SUSE-SU-2022:3616-1
openSUSE Leap 15.3 nodejs14 14.20.1-150200.15.37.1 SUSE-SU-2022:3614-1
openSUSE Leap 15.3 nodejs16 16.17.1-150300.7.12.1 SUSE-SU-2022:3615-1
ReleasePackageFixed inAdvisory
Alpine v3.24 nodejs 16.17.1-r0 —
Alpine v3.24 nodejs-current 18.9.1-r0 —
Alpine v3.23 nodejs 16.17.1-r0 —
Alpine v3.23 nodejs-current 18.9.1-r0 —
Alpine v3.22 nodejs 16.17.1-r0 —
Alpine v3.22 nodejs-current 18.9.1-r0 —
Alpine v3.21 nodejs 16.17.1-r0 —
Alpine v3.21 nodejs-current 18.9.1-r0 —
Alpine v3.20 nodejs 16.17.1-r0 —
Alpine v3.20 nodejs-current 18.9.1-r0 —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 nodejs 16.17.1-r0 —
Alpine v3.19 nodejs-current 18.9.1-r0 —
Alpine v3.18 nodejs 16.17.1-r0 —
Alpine v3.18 nodejs-current 18.9.1-r0 —
Alpine v3.17 nodejs 16.17.1-r0 —
Alpine v3.17 nodejs-current 18.9.1-r0 —
Alpine v3.16 nodejs 16.17.1-r0 —
Alpine v3.16 nodejs-current 18.9.1-r0 —
Alpine v3.15 nodejs 16.17.1-r0 —
Alpine v3.14 nodejs 14.20.1-r0 —
Alpine v3.13 nodejs 14.20.1-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 nodejs +4 1:18.12.1-1.amzn2023.0.2 ALAS2023-2023-084
Amazon Linux 2023 npm 1:8.19.2-1.18.12.1.1.amzn2023.0.2 ALAS2023-2023-084
Amazon Linux 2023 v8-devel 2:10.2.154.15-1.18.12.1.1.amzn2023.0.2 ALAS2023-2023-084

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 rust 1.75.0-1 —
Azure Linux 2 (CBL-Mariner) rust 1.68.0-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 graalvm22-ce-11 +41 22.3.0-1.el9 ELSA-2022-9955, ELSA-2022-9954, ELSA-2022-9953
Oracle Linux 9 nodejs +3 1:16.17.1-1.el9_0 ELSA-2023-0321, ELSA-2022-6963
Oracle Linux 9 nodejs-nodemon 2.0.20-2.el9_1 ELSA-2023-0321
Oracle Linux 9 npm 1:8.15.0-1.16.17.1.1.el9_0 ELSA-2023-0321, ELSA-2022-6963
Oracle Linux 8 graalvm22-ce-11 +41 22.3.0-1.el8 ELSA-2022-9951, ELSA-2022-9950, ELSA-2022-9949
Oracle Linux 8 nodejs +3 1:14.20.1-2.module+el8.6.0+20874+338992dc ELSA-2022-7830, ELSA-2022-7821, ELSA-2022-6964
Oracle Linux 8 nodejs-nodemon 2.0.19-1.module+el8.7.0+20766+0a247725 ELSA-2022-7830, ELSA-2022-7821, ELSA-2022-6964
Oracle Linux 8 nodejs-packaging 23-3.module+el8.3.0+7818+6cd30d85 ELSA-2022-7830, ELSA-2022-7821, ELSA-2022-6964
Oracle Linux 8 nodejs-packaging-bundler 2021.06-4.module+el8.7.0+20766+0a247725 ELSA-2022-7821
Oracle Linux 8 npm 1:6.14.17-1.14.20.1.2.module+el8.6.0+20874+338992dc ELSA-2022-7830, ELSA-2022-7821, ELSA-2022-6964
Oracle Linux 7 graalvm22-ce-11 +41 22.3.0-1.el7 ELSA-2022-9947, ELSA-2022-9946, ELSA-2022-9945

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling py3-llhttp 9.3.0.0-r0 —

Advisories 50

References