Improper Certificate Validation in Node.js - CVE-2021-22939
Published: March 11, 2022
Vulnerability identifier: #VU61253
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2021-22939
CWE-ID: CWE-295
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Affected software:
Node.js
Gentoo Linux
Arch Linux
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 for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
SUSE Linux Enterprise Module for Web Scripting
Planning Analytics Local
IBM Engineering Requirements Quality Assistant
IBM Cloud Transformation Advisor
IBM Security Verify Governance
IBM Business Process Manager
IBM Business Automation Workflow
IBM Cognos Controller
IBM QRadar Data Synchronization App
SINEC INS
nodejs-nodemon
net-dns/c-ares
rh-nodejs14-nodejs-nodemon (Red Hat package)
rh-nodejs12-nodejs-nodemon (Red Hat package)
npm
nodejs10-docs
npm10
nodejs10-devel
nodejs10-debugsource
nodejs10
nodejs10-debuginfo
nodejs
nodejs-docs
nodejs-devel
nodejs-full-i18n
rh-nodejs12-nodejs (Red Hat package)
nodejs12
nodejs12-debuginfo
nodejs12-debugsource
nodejs12-devel
npm12
nodejs12-docs
nodejs-lts-erbium
rh-nodejs14-nodejs (Red Hat package)
nodejs14-devel
nodejs14-docs
npm14
nodejs14-debugsource
nodejs14-debuginfo
nodejs14
nodejs-lts-fermium
nodejs-packaging
Node.js
Gentoo Linux
Arch Linux
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 for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
SUSE Linux Enterprise Module for Web Scripting
Planning Analytics Local
IBM Engineering Requirements Quality Assistant
IBM Cloud Transformation Advisor
IBM Security Verify Governance
IBM Business Process Manager
IBM Business Automation Workflow
IBM Cognos Controller
IBM QRadar Data Synchronization App
SINEC INS
nodejs-nodemon
net-dns/c-ares
rh-nodejs14-nodejs-nodemon (Red Hat package)
rh-nodejs12-nodejs-nodemon (Red Hat package)
npm
nodejs10-docs
npm10
nodejs10-devel
nodejs10-debugsource
nodejs10
nodejs10-debuginfo
nodejs
nodejs-docs
nodejs-devel
nodejs-full-i18n
rh-nodejs12-nodejs (Red Hat package)
nodejs12
nodejs12-debuginfo
nodejs12-debugsource
nodejs12-devel
npm12
nodejs12-docs
nodejs-lts-erbium
rh-nodejs14-nodejs (Red Hat package)
nodejs14-devel
nodejs14-docs
npm14
nodejs14-debugsource
nodejs14-debuginfo
nodejs14
nodejs-lts-fermium
nodejs-packaging
Detailed vulnerability description
The vulnerability allows a remote attacker to compromise the target system.
The vulnerability exists due to incomplete validation of rejectUnauthorized parameter. A remote attacker can cause the connections to servers with an expired certificate would have been accepted.
How to mitigate CVE-2021-22939
Install updates from vendor's website.