CVE-2022-32215: HTTP Request Smuggling - Incorrect Parsing of Multi-line Transfer-Encoding

Published Jul 7, 2022
·
Updated

A vulnerability was found in NodeJS due to the llhttp parser in the HTTP module incorrectly handling multi-line Transfer-Encoding headers. This issue can lead to HTTP Request Smuggling (HRS). This flaw allows a remote attacker to send a specially crafted HTTP request to the server and smuggle arbitrary HTTP headers, causing web cache poisoning, and conducting XSS attacks.

Other sources

CVE-2022-32215

The llhttp parser in the http module does not correctly handle multi-line Transfer-Encoding headers. This can lead to HTTP Request Smuggling (HRS).

More details will be available at CVE-2022-32215 after publication.

Thank you to Zeyu Zhang (@zeyu2001) for reporting this vulnerability.

Impacts:

All versions of the 18.x, 16.x, and 14.x releases lines. llhttp v6.0.7 and llhttp v2.1.5 contains the fixes that were updated inside Node.js

https://nodejs.org/en/blog/vulnerability/july-2022-security-releases/

— Red Hat

Node.js is vulnerable to HTTP request smuggling, caused by the failure to correctly handle multi-line Transfer-Encoding headers by the llhttp parser in the http module. A remote attacker could send a specially-crafted request to lead to HTTP Request Smuggling (HRS). An attacker could exploit this vulnerability to poison the web cache, bypass web application firewall protection, and conduct XSS attacks.

— IBM

The llhttp parser <v14.20.1 <v16.17.1 and <v18.9.1 in the http module in Node.js does not correctly handle multi-line Transfer-Encoding headers. This can lead to HTTP Request Smuggling (HRS).

— Microsoft

The llhttp parser <v14.20.1, <v16.17.1 and <v18.9.1 in the http module in Node.js does not correctly handle multi-line Transfer-Encoding headers. This can lead to HTTP Request Smuggling (HRS).

The llhttp parser in the http module does not correctly handle multi-line Transfer-Encoding headers. This can lead to HTTP Request Smuggling (HRS).

More details will be available at CVE-2022-32215 after publication.

All versions of the 18.x, 16.x, and 14.x releases lines.

llhttp v6.0.7 and llhttp v2.1.5 contains the fixes that were updated inside Node.js

— Node.Js

Affected Software

53 affected componentsFixes available
redhat/nodejs<1:16.16.0-1.el9_0
1:16.16.0-1.el9_0
redhat/rh-nodejs14-nodejs<0:14.20.0-2.el7
0:14.20.0-2.el7
redhat/nodejs<14.20.0
14.20.0
redhat/nodejs<16.20.0
16.20.0
redhat/nodejs<18.5.0
18.5.0
IBM Cognos Controller<=11.0.0 - 11.0.1
llhttp Llhttp Node.js>=14.0.0<14.20.1
llhttp Llhttp Node.js>=16.0.0<16.17.1
llhttp llhttp>=18.0.0<18.9.1
Nodejs Node.js>=14.0.0<=14.14.0
Nodejs Node.js>=14.15.0<14.20.0
Nodejs Node.js>=16.0.0<=16.12.0
Nodejs Node.js>=16.13.0<16.16.0
Nodejs Node.js>=18.0.0<18.5.0
Fedoraproject Fedora=35
Fedoraproject Fedora=36
Fedoraproject Fedora=37
Siemens Sinec Ins=1.0
Siemens Sinec Ins=1.0-sp1
Siemens Sinec Ins=1.0-sp2
Debian Debian Linux=11.0
Stormshield Stormshield Management Center<3.3.2
Microsoft cbl2 nodejs 16.16.0-1
Microsoft cm1 nodejs 14.20.0-1
Microsoft azl3 rust 1.75.0-1
Node.js Node.js>=14.0.0<14.20.1, >=16.0.0<16.17.1, >=18.0.0<18.9.1
14.20.116.17.118.9.1
Node.js Node.js>=18.0.0<18.9.1
18.9.1
debian/nodejs<18.6.0+dfsg-3
18.6.0+dfsg-3
debian/nodejs<18.6.0+dfsg-3
18.6.0+dfsg-3
debian/nodejs<18.6.0+dfsg-3
18.6.0+dfsg-3
debian/llhttp
9.4.3+~cs12.11.9-2
debian/nodejs
18.20.4+dfsg-1~deb12u218.20.4+dfsg-1~deb12u320.19.2+dfsg-1+deb13u220.19.2+dfsg-1+deb13u324.21.0+dfsg+~cs24.13.4-124.22.2+dfsg+~cs24.19.2-1
alpine/nodejs<14.20.1-r0
14.20.1-r0
alpine/nodejs<14.20.1-r0
14.20.1-r0
alpine/nodejs<16.17.1-r0
16.17.1-r0
alpine/nodejs<16.17.1-r0
16.17.1-r0
alpine/nodejs<16.17.1-r0
16.17.1-r0
alpine/nodejs<16.17.1-r0
16.17.1-r0
alpine/nodejs<16.17.1-r0
16.17.1-r0
alpine/nodejs<16.17.1-r0
16.17.1-r0
alpine/nodejs<16.17.1-r0
16.17.1-r0
alpine/nodejs<16.17.1-r0
16.17.1-r0
alpine/nodejs<16.17.1-r0
16.17.1-r0
alpine/nodejs<16.17.1-r0
16.17.1-r0
alpine/nodejs-current<18.9.1-r0
18.9.1-r0
alpine/nodejs-current<18.9.1-r0
18.9.1-r0
alpine/nodejs-current<18.9.1-r0
18.9.1-r0
alpine/nodejs-current<18.9.1-r0
18.9.1-r0
alpine/nodejs-current<18.9.1-r0
18.9.1-r0
alpine/nodejs-current<18.9.1-r0
18.9.1-r0
alpine/nodejs-current<18.9.1-r0
18.9.1-r0
alpine/nodejs-current<18.9.1-r0
18.9.1-r0
alpine/nodejs-current<18.9.1-r0
18.9.1-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/nodejs to a version that resolves this vulnerability.

    Fixed in 1:16.16.0-1.el9_0
  2. Upgrade

    Upgrade redhat/rh-nodejs14-nodejs to a version that resolves this vulnerability.

    Fixed in 0:14.20.0-2.el7
  3. Upgrade

    Upgrade redhat/nodejs to a version that resolves this vulnerability.

    Fixed in 14.20.0
  4. Upgrade

    Upgrade redhat/nodejs to a version that resolves this vulnerability.

    Fixed in 16.20.0
  5. Upgrade

    Upgrade redhat/nodejs to a version that resolves this vulnerability.

    Fixed in 18.5.0
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 14.20.1Fixed in 16.17.1Fixed in 18.9.1
  7. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 18.9.1
  8. Upgrade

    Upgrade debian/llhttp to a version that resolves this vulnerability.

    Fixed in 9.4.3+~cs12.11.9-2
  9. Upgrade

    Upgrade debian/nodejs to a version that resolves this vulnerability.

    Fixed in 18.20.4+dfsg-1~deb12u2Fixed in 18.20.4+dfsg-1~deb12u3Fixed in 20.19.2+dfsg-1+deb13u2Fixed in 20.19.2+dfsg-1+deb13u3Fixed in 24.21.0+dfsg+~cs24.13.4-1Fixed in 24.22.2+dfsg+~cs24.19.2-1
  10. Upgrade

    Upgrade alpine/nodejs to a version that resolves this vulnerability.

    Fixed in 14.20.1-r0
  11. Upgrade

    Upgrade alpine/nodejs to a version that resolves this vulnerability.

    Fixed in 16.17.1-r0
  12. Upgrade

    Upgrade alpine/nodejs-current to a version that resolves this vulnerability.

    Fixed in 18.9.1-r0
  13. Upgrade

    Upgrade debian/nodejs to a version that resolves this vulnerability.

    Fixed in 18.6.0+dfsg-3
  14. Upgrade

    Upgrade Node.js to a version that resolves this vulnerability.

    Fixed in 14.20.1
  15. Upgrade

    Upgrade Node.js to a version that resolves this vulnerability.

    Fixed in 16.17.1
  16. Upgrade

    Upgrade Node.js to a version that resolves this vulnerability.

    Fixed in 18.9.1

Event History

Jul 7, 2022
CVE Published
via Node.js·04:00 PM
Data Sourced
via Node.js·04:00 PM
DescriptionSeverity
Jul 14, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·03:15 PM
DescriptionSeverityAffected Software
Jul 22, 2022
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeaknessAffected Software
Sep 23, 2022
Data Sourced
via Node.js·04:14 PM
Affected Software

Frequently Asked Questions

1

What is CVE-2022-32215?

CVE-2022-32215 is a vulnerability in NodeJS due to the llhttp parser in the HTTP module incorrectly handling multi-line Transfer-Encoding headers.

2

What is the severity of CVE-2022-32215?

The severity of CVE-2022-32215 is medium with a CVSS score of 6.5.

3

How does CVE-2022-32215 affect NodeJS?

CVE-2022-32215 can lead to HTTP Request Smuggling (HRS) and allows a remote attacker to send a specially crafted HTTP request to the server and smuggle arbitrary HTTP traffic.

4

How can I fix CVE-2022-32215?

To fix CVE-2022-32215, users should update to the patched versions: llhttp v14.20.1, v16.17.1, or v18.9.1 in the Node.js http module.

5

Where can I find more information about CVE-2022-32215?

You can find more information about CVE-2022-32215 on the CVE website, NIST NVD, Node.js blog, Red Hat Bugzilla, and Red Hat Advisory.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203