Improper validation of certificate with host mismatch in Node.js - CVE-2021-44532

 

Improper validation of certificate with host mismatch in Node.js - CVE-2021-44532

Published: January 12, 2022


Vulnerability identifier: #VU59549
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-44532
CWE-ID: CWE-297
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 improper validation of certificates, when converting SANs (Subject Alternative Names) to a string format. A remote attacker can inject special characters into the string and perform spoofing attack.


Affected software

Node.js
IBM Business Process Manager
IBM Netcool Agile Service Manager
IBM Cloud Transformation Advisor
IBM Watson Assistant for IBM Cloud Pak for Data
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
Anolis OS
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
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
SUSE Linux Enterprise Module for Web Scripting
Fedora
Red Hat Software Collections
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)
nodejs-nodemon
npm
nodejs12-docs
npm12
nodejs12
nodejs12-devel
nodejs12-debuginfo
nodejs12-debugsource
nodejs-docs
nodejs
nodejs-devel
nodejs-full-i18n
nodejs14-devel
nodejs14-docs
npm14
nodejs14
nodejs14-debugsource
nodejs14-debuginfo
nodejs-packaging
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-44532

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 Netcool Agile Service Manager - update to 1.1.13
IBM Cloud Transformation Advisor - update to 3.1.0
nodejs (Debian package) - update to 12.22.12~dfsg-1~deb11u1
IBM Cognos Controller - update to 11.0.1.0.3
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
nodejs-nodemon - update to 2.0.3-1
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
npm - update to 6.14.16-1.12.22.12.1
nodejs12-docs - 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 - 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
nodejs12-debuginfo - 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
nodejs-docs - update to 12.22.12-1
nodejs - update to 12.22.12-1
nodejs-devel - update to 12.22.12-1
nodejs-full-i18n - update to 12.22.12-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-devel - addressed in versions 14.18.3-6.21.1, 14.18.3-15.24.1
nodejs14-docs - 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
nodejs14 - 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-debuginfo - addressed in versions 14.18.3-6.21.1, 14.18.3-15.24.1
nodejs-packaging - update to 17-3
nodejs - update to 18.12.1-1

External References

Related Security Bulletins