Inconsistent interpretation of HTTP requests in Node.js - CVE-2022-32215

 

Inconsistent interpretation of HTTP requests in Node.js - CVE-2022-32215

Published: July 13, 2022


Vulnerability identifier: #VU65282
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-32215
CWE-ID: CWE-444
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform HTTP request smuggling attacks.

The vulnerability exists due to llhttp parser in the http module does not correctly handle multi-line Transfer-Encoding headers. A remote attacker can send a specially crafted HTTP request to the server and smuggle arbitrary HTTP headers.

Successful exploitation of vulnerability may allow an attacker to poison HTTP cache and perform phishing attacks.


Affected software

Node.js
Debian Linux
Gentoo Linux
Amazon Linux AMI
SUSE CaaS Platform
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Manager Proxy
SUSE Enterprise Storage
SUSE Linux Enterprise Storage
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Anolis OS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Oracle Linux
SUSE Linux Enterprise Module for Web Scripting
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Server for SAP
openSUSE Leap
Ubuntu
openEuler
Fedora
Answer Retrieval for Watson Discovery On Prem
Oracle Business Intelligence Enterprise Edition
Platform Navigator in IBM Cloud Pak for Integration (CP4I)
IBM Planning Analytics Workspace
IBM Cloud Pak for Watson AIOps
Cognos Dashboards on Cloud Pak for Data
Red Hat Software Collections
IBM App Connect Enterprise
Voice Gateway
Cloud Pak for Security (CP4S)
Event Streams
IBM Cognos Controller
rh-nodejs14-nodejs-nodemon (Red Hat package)
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
rh-nodejs14-nodejs (Red Hat package)
nodejs-doc (Ubuntu package)
nodejs (Ubuntu package)
nodejs-dev (Ubuntu package)
nodejs-nodemon (Red Hat package)
nodejs-nodemon
npm
v8-devel
libnode64 (Ubuntu package)
libnode-dev (Ubuntu package)
nodejs10-docs
npm10
nodejs10-devel
nodejs10-debugsource
nodejs10-debuginfo
nodejs10
libnode72 (Ubuntu package)
nodejs-debuginfo
nodejs-docs
nodejs-devel
nodejs-libs
nodejs-debugsource
nodejs
nodejs-full-i18n
nodejs (Debian package)
nodejs12
nodejs12-docs
npm12
nodejs12-debuginfo
nodejs12-debugsource
nodejs12-devel
nodejs14-docs
npm14
nodejs14-devel
nodejs14-debugsource
nodejs14-debuginfo
nodejs14
corepack14
nodejs (Red Hat package)
nodejs16
nodejs16-debuginfo
nodejs16-debugsource
nodejs16-devel
npm16
nodejs16-docs
corepack16
nodejs18-debugsource
nodejs18-debuginfo
nodejs18-devel
npm18
nodejs18-docs
nodejs18
corepack18
nodejs-packaging
EMC Integrated Data Protection Appliance
Swagger UI
IBM Watson Discovery for IBM Cloud Pak for Data
IBM Integration Bus
Dell EMC Data Protection Search
Oracle Blockchain Platform
Automation Assets in IBM Cloud Pak for Integration (CP4I)
IBM Cloud Pak for Multicloud Management Monitoring
IBM Cloud Transformation Advisor
App Connect Enterprise Certified Container
IBM Spectrum Protect Plus
IBM DataPower Gateway
Oracle GraalVM Enterprise Edition
SINEC INS
IBM Cognos Analytics

How to mitigate CVE-2022-32215

Install updates from vendor's website.

Node.js - addressed in versions 14.20.0, 16.16.0, 18.5.0, 14.20.1, 16.17.1, 18.9.1
Answer Retrieval for Watson Discovery On Prem - update to 2.8.0
Voice Gateway - addressed in versions 1.0.8.0, 1.0.8.2
Cloud Pak for Security (CP4S) - update to 1.10.15.0
rh-nodejs14-nodejs-nodemon (Red Hat package) - update to 2.0.19-1.el7
Swagger UI - update to 4.14.3
IBM Watson Discovery for IBM Cloud Pak for Data - update to 4.6.0
Event Streams - update to 11.0.4
IBM DataPower Gateway - addressed in versions 10.0.1.10, 10.0.4.0sr2, 10.5.0.2
IBM Cognos Controller - update to 11.0.1.0.3
rh-nodejs14-nodejs (Red Hat package) - update to 14.20.0-2.el7
Dell EMC Data Protection Search - update to 19.6.2
Oracle Blockchain Platform - update to 21.1.3
Platform Navigator in IBM Cloud Pak for Integration (CP4I) - addressed in versions 2020.4.1-9, 2022.2-1
Automation Assets in IBM Cloud Pak for Integration (CP4I) - addressed in versions 2020.4.1-8, 2022.2.1-1
nodejs-doc (Ubuntu package) - addressed in versions Ubuntu Pro, 10.19.0~dfsg-3ubuntu1.3, 12.22.9~dfsg-1ubuntu3.2
nodejs (Ubuntu package) - addressed in versions Ubuntu Pro, 10.19.0~dfsg-3ubuntu1.3, 12.22.9~dfsg-1ubuntu3.2
nodejs-dev (Ubuntu package) - update to Ubuntu Pro
SINEC INS - update to 1.0 SP2 Update 1
nodejs-nodemon (Red Hat package) - update to 2.0.19-1.el9_0
nodejs-nodemon - update to 2.0.19-2
IBM Planning Analytics Workspace - update to 2.0.82
IBM Cloud Pak for Multicloud Management Monitoring - update to 2.3 Fix Pack 7
IBM Cloud Transformation Advisor - update to 3.2.2
IBM Cloud Pak for Watson AIOps - update to 3.5
Cognos Dashboards on Cloud Pak for Data - update to 4.7.2
App Connect Enterprise Certified Container - addressed in versions 5.0.1, 6.0.0
npm - update to 6.14.16-1.12.22.11.4
npm - addressed in versions 6.14.17-1.14.20.0.2, 8.11.0-1.16.16.0.3
v8-devel - update to 7.8.279.23-1.12.22.11.4
IBM Spectrum Protect Plus - update to 10.1.12
libnode64 (Ubuntu package) - update to 10.19.0~dfsg-3ubuntu1.3
libnode-dev (Ubuntu package) - addressed in versions 10.19.0~dfsg-3ubuntu1.3, 12.22.9~dfsg-1ubuntu3.2
nodejs10-docs - update to 10.24.1-150000.1.47.1
npm10 - update to 10.24.1-150000.1.47.1
nodejs10-devel - update to 10.24.1-150000.1.47.1
nodejs10-debugsource - update to 10.24.1-150000.1.47.1
nodejs10-debuginfo - update to 10.24.1-150000.1.47.1
nodejs10 - update to 10.24.1-150000.1.47.1
IBM Cognos Analytics - addressed in versions 11.1.7 Fix Pack 7, 11.2.4.1 IF1
libnode72 (Ubuntu package) - update to 12.22.9~dfsg-1ubuntu3.2
nodejs-debuginfo - update to 12.22.11-4
nodejs-docs - update to 12.22.11-4
nodejs-devel - update to 12.22.11-4
nodejs-libs - update to 12.22.11-4
nodejs-debugsource - update to 12.22.11-4
nodejs - update to 12.22.11-4
nodejs-full-i18n - update to 12.22.11-4
nodejs (Debian package) - update to 12.22.12~dfsg-1~deb11u3
nodejs12 - addressed in versions 12.22.12-1.51.1, 12.22.12-150200.4.35.1
nodejs12-docs - addressed in versions 12.22.12-1.51.1, 12.22.12-150200.4.35.1
npm12 - addressed in versions 12.22.12-1.51.1, 12.22.12-150200.4.35.1
nodejs12-debuginfo - addressed in versions 12.22.12-1.51.1, 12.22.12-150200.4.35.1
nodejs12-debugsource - addressed in versions 12.22.12-1.51.1, 12.22.12-150200.4.35.1
nodejs12-devel - addressed in versions 12.22.12-1.51.1, 12.22.12-150200.4.35.1
nodejs-full-i18n - addressed in versions 14.20.0-2, 16.16.0-3
nodejs - addressed in versions 14.20.0-2, 16.16.0-3
nodejs-docs - addressed in versions 14.20.0-2, 16.16.0-3
nodejs-devel - addressed in versions 14.20.0-2, 16.16.0-3
nodejs14-docs - addressed in versions 14.20.0-6.31.1, 14.20.0-150200.15.34.1
npm14 - addressed in versions 14.20.0-6.31.1, 14.20.0-150200.15.34.1
nodejs14-devel - addressed in versions 14.20.0-6.31.1, 14.20.0-150200.15.34.1
nodejs14-debugsource - addressed in versions 14.20.0-6.31.1, 14.20.0-150200.15.34.1
nodejs14-debuginfo - addressed in versions 14.20.0-6.31.1, 14.20.0-150200.15.34.1
nodejs14 - addressed in versions 14.20.0-6.31.1, 14.20.0-150200.15.34.1
corepack14 - update to 14.20.0-150200.15.34.1
nodejs (Red Hat package) - update to 16.16.0-1.el9_0
nodejs16 - addressed in versions 16.16.0-8.6.1, 16.16.0-150300.7.6.2, 16.16.0-150400.3.3.2, 16.17.1-8.12.1, 16.17.1-150300.7.12.1, 16.17.1-150400.3.9.1
nodejs16-debuginfo - addressed in versions 16.16.0-8.6.1, 16.16.0-150300.7.6.2, 16.16.0-150400.3.3.2, 16.17.1-8.12.1, 16.17.1-150300.7.12.1, 16.17.1-150400.3.9.1
nodejs16-debugsource - addressed in versions 16.16.0-8.6.1, 16.16.0-150300.7.6.2, 16.16.0-150400.3.3.2, 16.17.1-8.12.1, 16.17.1-150300.7.12.1, 16.17.1-150400.3.9.1
nodejs16-devel - addressed in versions 16.16.0-8.6.1, 16.16.0-150300.7.6.2, 16.16.0-150400.3.3.2, 16.17.1-8.12.1, 16.17.1-150300.7.12.1, 16.17.1-150400.3.9.1
npm16 - addressed in versions 16.16.0-8.6.1, 16.16.0-150300.7.6.2, 16.16.0-150400.3.3.2, 16.17.1-8.12.1, 16.17.1-150300.7.12.1, 16.17.1-150400.3.9.1
nodejs16-docs - addressed in versions 16.16.0-8.6.1, 16.16.0-150300.7.6.2, 16.16.0-150400.3.3.2, 16.17.1-8.12.1, 16.17.1-150300.7.12.1, 16.17.1-150400.3.9.1
corepack16 - addressed in versions 16.16.0-150400.3.3.2, 16.17.1-150400.3.9.1
nodejs - addressed in versions 16.17.1-1.fc35, 16.17.1-1.fc36, 16.18.1-1.fc35, 16.18.1-1.fc36, 18.9.1-1.fc37, 18.10.0-1.fc37, 18.12.1-1.fc37
nodejs - update to 18.12.1-1
nodejs18-debugsource - addressed in versions 18.13.0-8.3.1, 18.13.0-150400.9.3.1
nodejs18-debuginfo - addressed in versions 18.13.0-8.3.1, 18.13.0-150400.9.3.1
nodejs18-devel - addressed in versions 18.13.0-8.3.1, 18.13.0-150400.9.3.1
npm18 - addressed in versions 18.13.0-8.3.1, 18.13.0-150400.9.3.1
nodejs18-docs - addressed in versions 18.13.0-8.3.1, 18.13.0-150400.9.3.1
nodejs18 - addressed in versions 18.13.0-8.3.1, 18.13.0-150400.9.3.1
corepack18 - update to 18.13.0-150400.9.3.1
nodejs-packaging - addressed in versions 23-3, 25-1

External References

Related Security Bulletins