Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
CVE-2021-31597 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/mjwwit/node-XMLHttpRequest/commit/bf53329b61ca6afc5d28f6b8d2dc2e3ca740a9b2 | CVE | PatchThird Party Advisory |
| https://github.com/mjwwit/node-XMLHttpRequest/compare/v1.6.0...1.6.1 | CVE | PatchRelease NotesThird Party Advisory |
| https://people.kingsds.network/wesgarland/xmlhttprequest-ssl-vuln.txt | CVE | ExploitThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20210618-0004/ | CVE | Third Party Advisory |
| https://github.com/mjwwit/node-XMLHttpRequest/commit/bf53329b61ca6afc5d28f6b8d2dc2e3ca740a9b2 | [email protected] | PatchThird Party Advisory |
| https://github.com/mjwwit/node-XMLHttpRequest/compare/v1.6.0...1.6.1 | [email protected] | PatchRelease NotesThird Party Advisory |
| https://people.kingsds.network/wesgarland/xmlhttprequest-ssl-vuln.txt | [email protected] | ExploitThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20210618-0004/ | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-295 | Improper Certificate Validation | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| xmlhttprequest-ssl project xmlhttprequest-ssl | < 1.6.1 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Dec 8, 2021 | Modified Analysis | [email protected] |
| Jun 18, 2021 | CVE Modified | [email protected] |
| May 19, 2021 | Reanalysis | [email protected] |
| May 19, 2021 | Reanalysis | [email protected] |
| Apr 30, 2021 | Initial Analysis | [email protected] |