What’s Vulnerable › Vulnerabilities

CVE-2021-31597

Description

The xmlhttprequest-ssl package before 1.6.1 for Node.js disables SSL certificate validation by default, because rejectUnauthorized (when the property exists but is undefined) is considered to be false within the https.request function of Node.js. In other words, no certificate is ever rejected.

Affected products

How to fix

Upgrade to a fixed version: Xmlhttprequest-Ssl Project Xmlhttprequest-Ssl 1.6.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-31597 or the next vulnerability affects your stack