Improper Certificate Validation in Node.js - CVE-2021-44531

 

Improper Certificate Validation in Node.js - CVE-2021-44531

Published: January 12, 2022


Vulnerability identifier: #VU59548
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-2021-44531
CWE-ID: CWE-295
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform spoofing attack.

The vulnerability exists due to insufficient validation of URI Subject Alternative Names. Node.js accepts arbitrary Subject Alternative Name (SAN) types, unless a PKI is specifically defined to use a particular SAN type. A remote attacker can bypass name-constrained intermediates and perform spoofing attack.


Affected software

Node.js
IBM Business Process Manager
IBM Cloud Transformation Advisor
IBM Security Verify Governance
IBM InfoSphere Information Server for Cloud
IBM Business Automation Workflow
IBM Cloud Pak for Multicloud Management Monitoring
IBM Watson Discovery for IBM Cloud Pak for Data
Amazon Linux AMI
Gentoo Linux
Oracle Linux
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
SUSE Linux Enterprise Module for Web Scripting
Fedora
Red Hat Software Collections
IBM App Connect Enterprise
Voice Gateway
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
nodejs (Debian package)
rh-nodejs12-nodejs (Red Hat package)
rh-nodejs14-nodejs (Red Hat package)
nodejs12-debuginfo
nodejs12
nodejs12-debugsource
nodejs12-devel
npm12
nodejs12-docs
nodejs
nodejs14-docs
nodejs14
nodejs14-debuginfo
nodejs14-debugsource
nodejs14-devel
npm14
Splunk Enterprise
IBM Cognos Controller
IBM InfoSphere Information Server
IBM Cloud Pak for Watson AIOps
OpenShift Data Foundation (formerly OpenShift Container Storage)

How to mitigate CVE-2021-44531

Install updates from vendor's website.

Node.js - addressed in versions 12.22.9, 14.18.3, 16.13.2, 17.3.1
Voice Gateway - update to 1.0.7.12
IBM Cloud Transformation Advisor - update to 3.1.0
Splunk Enterprise - addressed in versions 9.1.7, 9.2.4, 9.3.2
nodejs (Debian package) - update to 12.22.12~dfsg-1~deb11u1
IBM Cognos Controller - update to 11.0.1.0.3
IBM App Connect Enterprise - update to 11.0.0.16
IBM InfoSphere Information Server - update to 11.7.1.3 Service pack 4
IBM InfoSphere Information Server for Cloud - update to 11.7.1.3 Service pack 4
rh-nodejs12-nodejs (Red Hat package) - update to 12.22.12-2.el7
rh-nodejs14-nodejs (Red Hat package) - update to 14.20.1-2.el7
IBM Cloud Pak for Multicloud Management Monitoring - update to 2.3 Fix Pack 7
IBM Cloud Pak for Watson AIOps - update to 3.5
IBM Watson Discovery for IBM Cloud Pak for Data - update to 4.0.9
OpenShift Data Foundation (formerly OpenShift Container Storage) - update to 4.13.0
nodejs12-debuginfo - addressed in versions 12.22.9-1.38.1, 12.22.9-4.25.1
nodejs12 - addressed in versions 12.22.9-1.38.1, 12.22.9-4.25.1
nodejs12-debugsource - addressed in versions 12.22.9-1.38.1, 12.22.9-4.25.1
nodejs12-devel - addressed in versions 12.22.9-1.38.1, 12.22.9-4.25.1
npm12 - addressed in versions 12.22.9-1.38.1, 12.22.9-4.25.1
nodejs12-docs - addressed in versions 12.22.9-1.38.1, 12.22.9-4.25.1
nodejs - addressed in versions 12-3420220113124632.058368ca, 12-3520220113124632.f27b74a8, 14.18.3-1.fc34, 14-3420220111194720.058368ca, 14-3520220111194720.f27b74a8, 16.13.2-1.fc35, 16-3420220111194631.058368ca, 16-3520220111194631.f27b74a8
nodejs14-docs - addressed in versions 14.18.3-6.21.1, 14.18.3-15.24.1
nodejs14 - addressed in versions 14.18.3-6.21.1, 14.18.3-15.24.1
nodejs14-debuginfo - addressed in versions 14.18.3-6.21.1, 14.18.3-15.24.1
nodejs14-debugsource - addressed in versions 14.18.3-6.21.1, 14.18.3-15.24.1
nodejs14-devel - addressed in versions 14.18.3-6.21.1, 14.18.3-15.24.1
npm14 - addressed in versions 14.18.3-6.21.1, 14.18.3-15.24.1
nodejs - update to 18.12.1-1

External References

Related Security Bulletins