~ / search / GHSA-72mh-269x-7mh5

GHSA-72mh-269x-7mh5

Improper Certificate Validation in xmlhttprequest-ssl

Source: GitHub Advisory Database (reviewed) Critical CVE-2021-31597

Packages

EcosystemPackageAffectedFixed in
npm xmlhttprequest-ssl < 1.6.1 1.6.1

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.