CVE-2021-31597
Critical
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.
SeverityCritical
CVSS9.4
Exploit probability—
ProductXmlhttprequest-ssl
PublishedApr 23, 2021
First seenApr 23, 2021
How to fix
Update
- xmlhttprequest-ssl_project xmlhttprequest-ssl1.6.1 or later
- xmlhttprequest-ssl1.6.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| xmlhttprequest-ssl_project xmlhttprequest-ssl | v < 1.6.1 | 1.6.1 |
| xmlhttprequest-sslnpm | v < 1.6.1 | 1.6.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.