Improper Certificate Validation in xmlhttprequest-ssl
Critical severity
GitHub Reviewed
Published
May 24, 2021
to the GitHub Advisory Database
•
Updated Nov 29, 2023
Description
Published by the National Vulnerability Database
Apr 23, 2021
Reviewed
May 20, 2021
Published to the GitHub Advisory Database
May 24, 2021
Last updated
Nov 29, 2023
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