cve.bz

CVE-2021-22960 HTTP Request Smuggling

6.5 mediumExploit referenceEPSS 2.5%Fix available

Medium (6.5). EPSS 2.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS
2.5% (unchanged from 2.5% a week ago; 2.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 85th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-444 Inconsistent Interpretation of HTTP Requests (HTTP Request Smuggling)
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-22960 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-22960?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-22960?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-22960 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
NodeJS Nodefrom 4.0 before 4.*
NodeJS Nodefrom 5.0 before 5.*
NodeJS Nodefrom 6.0 before 6.*
NodeJS Nodefrom 7.0 before 7.*
NodeJS Nodefrom 8.0 before 8.*
NodeJS Nodefrom 9.0 before 9.*
NodeJS Nodefrom 10.0 before 10.*
NodeJS Nodefrom 11.0 before 11.*
NodeJS Nodefrom 12.0 before 12.22.7
NodeJS Nodefrom 13.0 before 13.*
NodeJS Nodefrom 14.0 before 14.18.1
NodeJS Nodefrom 15.0 before 15.*
NodeJS Nodefrom 16.0 before 16.11.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11nodejs12.22.12~dfsg-1~deb11u1DSA-5170-1
Debian12, 13, 14nodejs12.22.7~dfsg-1DEBIAN-CVE-2021-22960
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:12.22.12-1.module+el8.6.0+15324+1f2c5d8dRHEA-2022:5139
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:14.18.2-2.module+el8.5.0+13644+8d46dafdRHSA-2022:0350
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:16.13.1-3.module+el8.5.0+13548+45d748afRHSA-2021:5171
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:2.0.15-1.module+el8.5.0+13504+a2e74d91RHSA-2022:0350
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:2.0.15-1.module+el8.5.0+13548+45d748afRHSA-2021:5171
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:2.0.3-1.module+el8.4.0+11732+c668cc9fRHEA-2022:5139
Red Hatenterprise_linux:8::appstreamnodejs-packaging0:17-3.module+el8.1.0+3369+37ae6a45RHEA-2022:5139
Red Hatenterprise_linux:8::appstreamnodejs-packaging0:23-3.module+el8.3.0+6519+9f98ed83RHSA-2022:0350
Red Hatenterprise_linux:8::appstreamnodejs-packaging0:25-1.module+el8.5.0+10992+fac5fe06RHSA-2021:5171
Red Hatenterprise_linux:8::appstreamnpm1:6.14.15-1.14.18.2.2.module+el8.5.0+13644+8d46dafdRHSA-2022:0350
Red Hatenterprise_linux:8::appstreamnpm1:6.14.16-1.12.22.12.1.module+el8.6.0+15324+1f2c5d8dRHEA-2022:5139
Red Hatenterprise_linux:8::appstreamnpm1:8.1.2-1.16.13.1.3.module+el8.5.0+13548+45d748afRHSA-2021:5171
21 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 16 morenodejs1010.24.1-150000.1.47.1SUSE-SU-2022:2855-1
SUSELinux Enterprise Module for Web and Scripting 12nodejs1212.22.9-1.38.1SUSE-SU-2022:0101-1
SUSELinux Enterprise Module for Web and Scripting 12nodejs1414.18.1-6.18.2SUSE-SU-2021:3886-1
SUSELinux Enterprise Module for Web and Scripting 15 SP2, Linux Enterprise Module for Web and Scripting 15 SP3nodejs1212.22.7-4.22.1SUSE-SU-2021:3940-1
SUSELinux Enterprise Module for Web and Scripting 15 SP2, Linux Enterprise Module for Web and Scripting 15 SP3nodejs1414.18.1-15.21.2SUSE-SU-2021:3964-1
openSUSELeap 15.2nodejs1212.22.7-lp152.3.21.1openSUSE-SU-2021:1574-1
openSUSELeap 15.2nodejs1414.18.1-lp152.17.1openSUSE-SU-2021:1552-1
openSUSELeap 15.3nodejs1212.22.7-4.22.1openSUSE-SU-2021:3940-1
openSUSELeap 15.3nodejs1414.18.1-15.21.2openSUSE-SU-2021:3964-1
openSUSELeap 15.3, Leap 15.4nodejs1010.24.1-150000.1.47.1SUSE-SU-2022:2855-1
openSUSETumbleweednodejs1414.18.1-1.1openSUSE-SU-2024:11616-1
openSUSETumbleweednodejs1616.13.0-1.1openSUSE-SU-2024:11637-1
AlmaLinux8nodejs, nodejs-docs, nodejs-devel and 1 more1:14.18.2-2.module_el8.5.0+254+b4526b16ALSA-2022:0350
AlmaLinux8nodejs, nodejs-docs, nodejs-devel and 1 more1:14.18.2-2.module_el8.5.0+2618+8d46dafdALSA-2022:0350
AlmaLinux8nodejs, nodejs-docs, nodejs-devel and 1 more1:16.13.1-3.module_el8.5.0+246+05401605ALSA-2021:5171
AlmaLinux8nodejs, nodejs-docs, nodejs-devel and 1 more1:16.13.1-3.module_el8.5.0+2605+45d748afALSA-2021:5171
AlmaLinux8nodejs-nodemon2.0.15-1.module_el8.5.0+2605+45d748afALSA-2021:5171 ALSA-2022:0350
AlmaLinux8nodejs-nodemon2.0.15-1.module_el8.5.0+2618+8d46dafdALSA-2022:0350
AlmaLinux8nodejs-nodemon2.0.15-1.module_el8.6.0+2904+f21ad6f4ALSA-2021:5171 ALSA-2022:0350
AlmaLinux8nodejs-packaging23-3.module_el8.4.0+2522+3bd42762ALSA-2022:0350
AlmaLinux8nodejs-packaging23-3.module_el8.5.0+2618+8d46dafdALSA-2022:0350
AlmaLinux8nodejs-packaging25-1.module_el8.5.0+246+05401605ALSA-2021:5171
AlmaLinux8nodejs-packaging25-1.module_el8.5.0+2605+45d748afALSA-2021:5171
AlmaLinux8npm1:6.14.15-1.14.18.2.2.module_el8.5.0+254+b4526b16ALSA-2022:0350
3 more for AlmaLinux in the JSON.
Rocky Linux8nodejs1:14.18.2-2.module+el8.5.0+733+de4fee6cRLSA-2022:0350
Rocky Linux8nodejs1:16.13.1-3.module+el8.5.0+721+4c107270RLSA-2021:5171
Rocky Linux8nodejs-nodemon0:2.0.15-1.module+el8.5.0+721+4c107270RLSA-2021:5171 RLSA-2022:0350
Rocky Linux8nodejs-packaging0:23-3.module+el8.3.0+100+234774f7RLSA-2022:0350
Rocky Linux8nodejs-packaging0:23-3.module+el8.5.0+733+de4fee6cRLSA-2022:0350
Rocky Linux8nodejs-packaging0:23-3.module+el8.7.0+1071+4bdda2a8RLSA-2022:0350
Rocky Linux8nodejs-packaging0:25-1.module+el8.5.0+702+221f14e6RLSA-2021:5171
Rocky Linux8nodejs-packaging0:25-1.module+el8.6.0+1046+80feca58RLSA-2021:5171
Alpinev3.12nodejs12.22.10-r0ALPINE-CVE-2021-22960
Alpinev3.13, v3.14, v3.15 and 9 morenodejs14.18.1-r0ALPINE-CVE-2021-22960
Alpinev3.14, v3.15, v3.16 and 8 morenodejs-current16.11.1-r0ALPINE-CVE-2021-22960

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's statement

Red Hat Quay from version 3.4 consumes nodejs from RHEL, so security tracking is provided by the container health index on the customer portal [1]. Additionally there is no impact from this issue on Quay 3.3 and 3.2 because nodejs is only used at build time and is no longer shipped, starting with Quay 3.5 [2].

[1] https://catalog.redhat.com/software/containers/quay/quay-rhel8/600e03aadd19c7786c43ae49?container-tabs=security

[2] https://issues.redhat.com/browse/PROJQUAY-1409

Therefore Quay component is marked as "Will not fix".

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8nodejs:12-8060020220523160029.ad008a3aFixed 2022-06-21RHEA-2022:5139
Red Hat Enterprise Linux 8nodejs:16-8050020211206113934.c5368500Fixed 2021-12-16RHSA-2021:5171
Red Hat Enterprise Linux 8nodejs:14-8050020211213115342.c5368500Fixed 2022-02-01RHSA-2022:0350
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionsnodejs:12-8010020220518102644.c27ad7f8Fixed 2022-06-07RHEA-2022:4925
Red Hat Enterprise Linux 8.2 Extended Update Supportnodejs:12-8020020220523154454.4cda2c84Fixed 2022-06-28RHEA-2022:5221
Red Hat Enterprise Linux 8.4 Extended Update Supportnodejs:12-8040020220523155137.522a0ee4Fixed 2022-07-19RHEA-2022:5615
Red Hat Enterprise Linux 8.4 Extended Update Supportnodejs:14-8040020211213111158.522a0ee4Fixed 2022-01-25RHSA-2022:0246
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs14-nodejs-0:14.18.2-1.el7Fixed 2022-01-06RHSA-2022:0041
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs14-nodejs-nodemon-0:2.0.3-6.el7Fixed 2022-01-06RHSA-2022:0041
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs12-nodejs-0:12.22.12-2.el7Fixed 2022-06-06RHSA-2022:4914
Red Hat Enterprise Linux 9nodejsNot affected
Red Hat Quay 3quay/quay-rhel8Will not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-22960.

Attack patterns (CAPEC)

  • CAPEC-33 HTTP Request Smuggling Likelihood: Medium · Severity: High
  • CAPEC-273 HTTP Response Smuggling Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON