Improper Certificate Validation in node-XMLHttpRequest - CVE-2021-31597

 

Improper Certificate Validation in node-XMLHttpRequest - CVE-2021-31597

Published: May 16, 2023


Vulnerability identifier: #VU76190
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-31597
CWE-ID: CWE-295
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Michael de Wit
Affected software:
node-XMLHttpRequest

Detailed vulnerability description

The vulnerability allows a remote attacker to perform MitM attacks.

The vulnerability exists due to improper certificate validation caused by an error interpreting the rejectUnauthorized value. A remote attacker can perform a man-in-the-middle (MitM) attack.


How to mitigate CVE-2021-31597

Install updates from vendor's website.

Sources