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.
References
Link | Resource |
---|---|
https://github.com/mjwwit/node-XMLHttpRequest/commit/bf53329b61ca6afc5d28f6b8d2dc2e3ca740a9b2 | Patch Third Party Advisory |
https://github.com/mjwwit/node-XMLHttpRequest/compare/v1.6.0...1.6.1 | Patch Release Notes Third Party Advisory |
https://people.kingsds.network/wesgarland/xmlhttprequest-ssl-vuln.txt | Exploit Third Party Advisory |
https://security.netapp.com/advisory/ntap-20210618-0004/ | Third Party Advisory |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: mitre
Published: 2021-04-22T23:52:48
Updated: 2021-06-18T09:06:12
Reserved: 2021-04-22T00:00:00
Link: CVE-2021-31597
JSON object: View
NVD Information
Status : Analyzed
Published: 2021-04-23T00:15:08.283
Modified: 2021-12-08T20:27:09.257
Link: CVE-2021-31597
JSON object: View
Redhat Information
No data.
CWE