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.0: 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/E:U/U:Green
CVE-ID: CVE-2021-44531
CWE-ID: CWE-295
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Node.js Foundation
Affected software:
Node.js

Detailed vulnerability description

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.


How to mitigate CVE-2021-44531

Install updates from vendor's website.

Sources