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.0: 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/E:U/U:Green
CVE-ID: CVE-2022-32212
CWE-ID: CWE-703
Exploitation vector: Remote access
Exploit availability: No public exploit available
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

Detailed vulnerability description

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.


How to mitigate CVE-2022-32212

Install updates from vendor's website.

Sources