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 over last 30 days · oldest: 0.021 · newest: 0.020 · change: -0.000
Affected products
Weakness classification (CWE)
References
- people.kingsds.network/wesgarland/xmlhttprequest-ssl-vuln.txt (Exploit, Third Party Advisory)
- github.com/mjwwit/node-XMLHttpRequest/compare/v1.6.0...1.6.1 (Patch, Third Party Advisory, Release Notes)
- github.com/mjwwit/node-XMLHttpRequest/commit/bf53329b61ca6afc5d28f6b8d2dc2e3ca7… (Patch, Third Party Advisory)
- security.netapp.com/advisory/ntap-20210618-0004/ (Third Party Advisory)
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.