Ubuntu CVE Tracker
UBUNTU-CVE-2021-31597
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:18.04:LTS | node-xmlhttprequest-ssl | All versions, no fix listed |
| Ubuntu:20.04:LTS | node-xmlhttprequest-ssl | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2021-31597
- https://github.com/mjwwit/node-XMLHttpRequest/commit/bf53329b61ca6afc5d28f6b8d2dc2e3ca740a9b2
- https://people.kingsds.network/wesgarland/xmlhttprequest-ssl-vuln.txt
- https://github.com/mjwwit/node-XMLHttpRequest/compare/v1.6.0...1.6.1
- https://www.cve.org/CVERecord?id=CVE-2021-31597