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

Published · last modified .

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.

EPSS exploit prediction

EPSS: 0.020 (80.4th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 80th percentile — 80.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2021-31597: held from 0.021 to 0.020.

EPSS over last 30 days · oldest: 0.021 · newest: 0.020 · change: -0.000

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.