Improper Check or Handling of Exceptional Conditions in Node.js - CVE-2022-32212

 

Improper Check or Handling of Exceptional Conditions in Node.js - CVE-2022-32212

Published: July 13, 2022 / Updated: January 18, 2023


Vulnerability identifier: #VU65273
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:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-32212
CWE-ID: CWE-703
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to IsIPAddress does not properly checks if an IP address is invalid or not. A remote unauthenticated attacker can exploit this vulnerability to bypass the IsAllowedHost check and execute arbitrary code on the system.


Affected software

Node.js
Debian Linux
Amazon Linux AMI
Gentoo Linux
SUSE CaaS Platform
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Manager Server
SUSE Enterprise Storage
SUSE Linux Enterprise Storage
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
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
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
Dell Data Protection Central
Red Hat Software Collections
IBM App Connect Enterprise
Voice Gateway
Communications Unified Assurance
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-dev (Ubuntu package)
nodejs (Ubuntu package)
nodejs-nodemon (Red Hat package)
nodejs-nodemon
npm
v8-devel
libnode64 (Ubuntu package)
libnode-dev (Ubuntu package)
nodejs10-devel
nodejs10-debugsource
nodejs10-debuginfo
nodejs10
npm10
nodejs10-docs
libnode72 (Ubuntu package)
nodejs
nodejs-debuginfo
nodejs-full-i18n
nodejs-debugsource
nodejs-docs
nodejs-libs
nodejs-devel
nodejs (Debian package)
nodejs12-docs
npm12
nodejs12-devel
nodejs12-debugsource
nodejs12-debuginfo
nodejs12
nodejs14
nodejs14-debuginfo
nodejs14-debugsource
nodejs14-devel
npm14
nodejs14-docs
corepack14
nodejs (Red Hat package)
nodejs16
nodejs16-debugsource
nodejs16-debuginfo
nodejs16-devel
npm16
nodejs16-docs
corepack16
nodejs18
nodejs18-debuginfo
nodejs18-debugsource
nodejs18-devel
npm18
nodejs18-docs
corepack18
nodejs-packaging
EasyApache
IBM Watson Discovery for IBM Cloud Pak for Data
IBM Integration Bus
Automation Assets in IBM Cloud Pak for Integration (CP4I)
IBM Cloud Pak for Multicloud Management Monitoring
IBM Cloud Transformation Advisor
IBM Spectrum Protect Plus
SINEC INS
IBM Cognos Analytics

How to mitigate CVE-2022-32212

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
EasyApache - update to 4 2022-9-29
IBM Watson Discovery for IBM Cloud Pak for Data - update to 4.6.0
Event Streams - update to 11.0.4
IBM Cognos Controller - update to 11.0.1.0.3
rh-nodejs14-nodejs (Red Hat package) - update to 14.20.0-2.el7
Automation Assets in IBM Cloud Pak for Integration (CP4I) - addressed in versions 2020.4.1-8, 2022.2.1-1
Platform Navigator in IBM Cloud Pak for Integration (CP4I) - addressed in versions 2020.4.1-9, 2022.2-1
nodejs-doc (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
nodejs (Ubuntu package) - addressed in versions Ubuntu Pro, 10.19.0~dfsg-3ubuntu1.3, 12.22.9~dfsg-1ubuntu3.2
SINEC INS - update to 1.0 SP2 Update 1
nodejs-nodemon (Red Hat package) - update to 2.0.19-1.el9_0
nodejs-nodemon - addressed in versions 2.0.19-2, 2.0.20-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
npm - update to 6.14.16-1.12.22.11.4
npm - addressed in versions 6.14.17-1.14.20.0.2, 6.14.17-1.14.21.1.2.0.1, 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-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
npm10 - update to 10.24.1-150000.1.47.1
nodejs10-docs - 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 - update to 12.22.11-4
nodejs-debuginfo - update to 12.22.11-4
nodejs-full-i18n - update to 12.22.11-4
nodejs-debugsource - update to 12.22.11-4
nodejs-docs - update to 12.22.11-4
nodejs-libs - update to 12.22.11-4
nodejs-devel - update to 12.22.11-4
nodejs (Debian package) - update to 12.22.12~dfsg-1~deb11u3
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-devel - 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-debuginfo - addressed in versions 12.22.12-1.51.1, 12.22.12-150200.4.35.1
nodejs12 - 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, 14.21.1-2.0.1, 16.16.0-3
nodejs-docs - addressed in versions 14.20.0-2, 14.21.1-2.0.1, 16.16.0-3
nodejs - addressed in versions 14.20.0-2, 14.21.1-2.0.1, 16.16.0-3
nodejs-devel - addressed in versions 14.20.0-2, 14.21.1-2.0.1, 16.16.0-3
nodejs14 - 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-debugsource - 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
npm14 - addressed in versions 14.20.0-6.31.1, 14.20.0-150200.15.34.1
nodejs14-docs - 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
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
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
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
npm16 - addressed in versions 16.16.0-8.6.1, 16.16.0-150300.7.6.2, 16.16.0-150400.3.3.2
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
corepack16 - update to 16.16.0-150400.3.3.2
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 - 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-debugsource - 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
corepack18 - update to 18.13.0-150400.9.3.1
Dell Data Protection Central - update to 19.10.0-4
nodejs-packaging - addressed in versions 23-3, 25-1

External References

Related Security Bulletins