Skip to content
OpenAdvisories
Unscored CVE-2021-22960 EUVD-2021-10085GHSA-px8h-5r3g-hj68

The parse function in llhttp < 2.1.4 and < 6.0.6. ignores chunk extensions when parsing the body of chunked requests. This leads to HTTP Re…

Published Nov 3, 2021 · Updated Apr 30, 2025 · Assigned by hackerone

Description

The parse function in llhttp < 2.1.4 and < 6.0.6. ignores chunk extensions when parsing the body of chunked requests. This leads to HTTP Request Smuggling (HRS) under certain conditions.

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.22.7, 13.0 – < 13.*, 14.0 – < 14.18.1, 15.0 – < 15.*, 16.0 – < 16.11.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 12.22.7~dfsg-1 —
Debian 13 nodejs 12.22.7~dfsg-1 —
Debian 12 nodejs 12.22.7~dfsg-1 —
Debian 11 nodejs 12.22.12~dfsg-1~deb11u1 DSA-5170-1
ReleasePackageFixed inAdvisory
RHEL 8 nodejs +3 1:12.22.12-1.module+el8.6.0+15324+1f2c5d8d RHSA-2022:0350, RHSA-2021:5171, RHEA-2022:5139
RHEL 8 nodejs-nodemon 2.0.3-1.module+el8.4.0+11732+c668cc9f RHSA-2022:0350, RHSA-2021:5171, RHEA-2022:5139
RHEL 8 nodejs-packaging 17-3.module+el8.1.0+3369+37ae6a45 RHSA-2022:0350, RHSA-2021:5171, RHEA-2022:5139
RHEL 8 npm 1:6.14.15-1.14.18.2.2.module+el8.5.0+13644+8d46dafd RHSA-2022:0350, RHSA-2021:5171, RHEA-2022:5139
RHEL 3 rh-nodejs12-nodejs +2 12.22.12-2.el7 RHSA-2022:4914
RHEL 3 rh-nodejs12-npm 6.14.16-12.22.12.2.el7 RHSA-2022:4914
RHEL 3 rh-nodejs14-nodejs +2 14.18.2-1.el7 RHSA-2022:0041
RHEL 3 rh-nodejs14-nodejs-nodemon 2.0.3-6.el7 RHSA-2022:0041
RHEL 3 rh-nodejs14-npm 6.14.15-14.18.2.1.el7 RHSA-2022:0041
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.4 EUS nodejs +3 1:12.22.12-1.module+el8.4.0+15323+4d1cc445 RHSA-2022:0246, RHEA-2022:5615
RHEL 8.4 EUS nodejs-nodemon 2.0.3-1.module+el8.4.0+11732+c668cc9f RHSA-2022:0246, RHEA-2022:5615
RHEL 8.4 EUS nodejs-packaging 17-3.module+el8.1.0+3369+37ae6a45 RHSA-2022:0246, RHEA-2022:5615
RHEL 8.4 EUS npm 1:6.14.15-1.14.18.2.2.module+el8.4.0+13643+6c0ebf22 RHSA-2022:0246, RHEA-2022:5615
RHEL 8.2 EUS nodejs +3 1:12.22.12-1.module+el8.2.0+15322+a70ca0ab RHEA-2022:5221
RHEL 8.2 EUS nodejs-nodemon 1.18.3-1.module+el8.1.0+3369+37ae6a45 RHEA-2022:5221
RHEL 8.2 EUS nodejs-packaging 17-3.module+el8.1.0+3369+37ae6a45 RHEA-2022:5221
RHEL 8.2 EUS npm 1:6.14.16-1.12.22.12.1.module+el8.2.0+15322+a70ca0ab RHEA-2022:5221
RHEL 8.1 E4S nodejs +3 1:12.22.12-1.module+el8.1.0+15296+87b2f6ad RHEA-2022:4925
RHEL 8.1 E4S nodejs-nodemon 1.18.3-1.module+el8.1.0+3369+37ae6a45 RHEA-2022:4925
RHEL 8.1 E4S nodejs-packaging 17-3.module+el8.1.0+3369+37ae6a45 RHEA-2022:4925
RHEL 8.1 E4S npm 1:6.14.16-1.12.22.12.1.module+el8.1.0+15296+87b2f6ad RHEA-2022:4925

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 nodejs +3 1:14.18.2-2.module_el8.5.0+254+b4526b16 ALSA-2022:0350, ALSA-2021:5171
AlmaLinux 8 nodejs-nodemon 2.0.15-1.module_el8.5.0+2605+45d748af ALSA-2022:0350, ALSA-2021:5171
AlmaLinux 8 nodejs-packaging 23-3.module_el8.4.0+2522+3bd42762 ALSA-2022:0350, ALSA-2021:5171
AlmaLinux 8 npm 1:6.14.15-1.14.18.2.2.module_el8.5.0+254+b4526b16 ALSA-2022:0350, ALSA-2021:5171

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 nodejs 1:14.18.2-2.module+el8.5.0+733+de4fee6c RLSA-2022:0350, RLSA-2021:5171
Rocky Linux 8 nodejs-nodemon 2.0.15-1.module+el8.5.0+721+4c107270 RLSA-2022:0350, RLSA-2021:5171
Rocky Linux 8 nodejs-packaging 23-3.module+el8.3.0+100+234774f7 RLSA-2022:0350, RLSA-2021:5171
ReleasePackageFixed inAdvisory
SLES 15 SP3 nodejs12 12.22.7-4.22.1 SUSE-SU-2021:3940-1
SLES 15 SP3 nodejs14 14.18.1-15.21.2 SUSE-SU-2021:3964-1
SLES 15 SP2 nodejs10 10.24.1-150000.1.47.1 SUSE-SU-2022:2855-1
SLES 15 SP2 nodejs12 12.22.7-4.22.1 SUSE-SU-2021:3940-1
SLES 15 SP2 nodejs14 14.18.1-15.21.2 SUSE-SU-2021:3964-1
SLES 15 SP1 nodejs10 10.24.1-150000.1.47.1 SUSE-SU-2022:2855-1
SLES 15 nodejs10 10.24.1-150000.1.47.1 SUSE-SU-2022:2855-1
SLES 12 nodejs12 12.22.9-1.38.1 SUSE-SU-2022:0101-1
SLES 12 nodejs14 14.18.1-6.18.2 SUSE-SU-2021:3886-1
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP2 nodejs10 10.24.1-150000.1.47.1 SUSE-SU-2022:2855-1
SLES for SAP 15 SP1 nodejs10 10.24.1-150000.1.47.1 SUSE-SU-2022:2855-1
SLES for SAP 15 nodejs10 10.24.1-150000.1.47.1 SUSE-SU-2022:2855-1
SLE HPC 15 SP2 nodejs10 10.24.1-150000.1.47.1 SUSE-SU-2022:2855-1
SLE HPC 15 SP1 nodejs10 10.24.1-150000.1.47.1 SUSE-SU-2022:2855-1
SLE HPC 15 nodejs10 10.24.1-150000.1.47.1 SUSE-SU-2022:2855-1
SUSE Manager Server 4.1 nodejs10 10.24.1-150000.1.47.1 SUSE-SU-2022:2855-1
SUSE Manager Retail Branch Server 4.1 nodejs10 10.24.1-150000.1.47.1 SUSE-SU-2022:2855-1
SUSE Manager Proxy 4.1 nodejs10 10.24.1-150000.1.47.1 SUSE-SU-2022:2855-1
SUSE Enterprise Storage 7 nodejs10 10.24.1-150000.1.47.1 SUSE-SU-2022:2855-1
SUSE Enterprise Storage 6 nodejs10 10.24.1-150000.1.47.1 SUSE-SU-2022:2855-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed nodejs14 14.18.1-1.1 openSUSE-SU-2024:11616-1
openSUSE Tumbleweed nodejs16 16.13.0-1.1 openSUSE-SU-2024:11637-1
openSUSE Leap 15.4 nodejs10 10.24.1-150000.1.47.1 SUSE-SU-2022:2855-1
openSUSE Leap 15.3 nodejs10 10.24.1-150000.1.47.1 SUSE-SU-2022:2855-1
openSUSE Leap 15.3 nodejs12 12.22.7-4.22.1 openSUSE-SU-2021:3940-1
openSUSE Leap 15.3 nodejs14 14.18.1-15.21.2 openSUSE-SU-2021:3964-1
openSUSE Leap 15.2 nodejs12 12.22.7-lp152.3.21.1 openSUSE-SU-2021:1574-1
openSUSE Leap 15.2 nodejs14 14.18.1-lp152.17.1 openSUSE-SU-2021:1552-1
ReleasePackageFixed inAdvisory
Alpine v3.24 nodejs 14.18.1-r0 —
Alpine v3.24 nodejs-current 16.11.1-r0 —
Alpine v3.23 nodejs 14.18.1-r0 —
Alpine v3.23 nodejs-current 16.11.1-r0 —
Alpine v3.22 nodejs 14.18.1-r0 —
Alpine v3.22 nodejs-current 16.11.1-r0 —
Alpine v3.21 nodejs 14.18.1-r0 —
Alpine v3.21 nodejs-current 16.11.1-r0 —
Alpine v3.20 nodejs 14.18.1-r0 —
Alpine v3.20 nodejs-current 16.11.1-r0 —
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 nodejs 14.18.1-r0 —
Alpine v3.19 nodejs-current 16.11.1-r0 —
Alpine v3.18 nodejs 14.18.1-r0 —
Alpine v3.18 nodejs-current 16.11.1-r0 —
Alpine v3.17 nodejs 14.18.1-r0 —
Alpine v3.17 nodejs-current 16.11.1-r0 —
Alpine v3.16 nodejs 14.18.1-r0 —
Alpine v3.16 nodejs-current 16.11.1-r0 —
Alpine v3.15 nodejs 14.18.1-r0 —
Alpine v3.15 nodejs-current 16.11.1-r0 —
Alpine v3.14 nodejs 14.18.1-r0 —
Alpine v3.14 nodejs-current 16.11.1-r0 —
Alpine v3.13 nodejs 14.18.1-r0 —
Alpine v3.12 nodejs 12.22.10-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

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 nodejs +3 1:14.18.2-2.module+el8.5.0+20489+261d51d3 ELSA-2022-0350, ELSA-2021-5171
Oracle Linux 8 nodejs-nodemon 2.0.15-1.module+el8.5.0+20457+52828f44 ELSA-2022-0350, ELSA-2021-5171
Oracle Linux 8 nodejs-packaging 23-3.module+el8.3.0+7818+6cd30d85 ELSA-2022-0350, ELSA-2021-5171
Oracle Linux 8 npm 1:6.14.15-1.14.18.2.2.module+el8.5.0+20489+261d51d3 ELSA-2022-0350, ELSA-2021-5171

Advisories 31

References