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.
Remediation
References
https://github.com/mjwwit/node-XMLHttpRequest/commit/bf53329b61ca6afc5d28f6b8d2dc2e3ca740a9b2
https://github.com/mjwwit/node-XMLHttpRequest/compare/v1.6.0...1.6.1
https://people.kingsds.network/wesgarland/xmlhttprequest-ssl-vuln.txt
https://security.netapp.com/advisory/ntap-20210618-0004/
Related Vulnerabilities
CVE-2020-5259 Vulnerability in maven package org.webjars.bowergithub.dojo:dojox
CVE-2021-23448 Vulnerability in npm package config-handler
CVE-2021-29446 Vulnerability in npm package jose-node-cjs-runtime
CVE-2017-1000421 Vulnerability in maven package org.webjars:gifsicle
CVE-2022-40955 Vulnerability in maven package org.apache.inlong:sort-connector-jdbc