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://people.kingsds.network/wesgarland/xmlhttprequest-ssl-vuln.txt | Exploit Third Party Advisory |
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://security.netapp.com/advisory/ntap-20210618-0004/ | Third Party Advisory |
Configurations
Configuration 1 (hide)
|
Information
Published : 2021-04-22 17:15
Updated : 2021-12-08 12:27
NVD link : CVE-2021-31597
Mitre link : CVE-2021-31597
JSON object : View
CWE
CWE-295
Improper Certificate Validation
Products Affected
xmlhttprequest-ssl_project
- xmlhttprequest-ssl