Vulnerability in Xmlhttprequest-Ssl Project

CVE-2021-31597

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.

Vulnerability class: Improper Certificate Validation

EPSS: 0.021 (79.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.4 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-31597?
CVE-2021-31597 is a critical-severity vulnerability in Xmlhttprequest-Ssl Project, classified under Improper Certificate Validation. CVSS score: 9.4/10. Published 2021-04-23.
How severe is CVE-2021-31597?
Critical severity. CVSS v3 base score is 9.4 out of 10.