Resolve vulnerability: Improper Certificate Validation in xmlhttprequest-ssl
requested to merge remediate/improper-certificate-validation-in-xmlhttprequest-ssl-D20210806T032532 into master
Description:
The xmlhttprequest-ssl package 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.
- Severity: critical
- Confidence: unknown
- Location: yarn.lock
Solution:
Upgrade to version 1.6.1 or above.