CVE-2021-31597 Improper Certificate Validation in xmlhttprequest-ssl
CriticalCVSS 9.4
EPSS 2.0%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Ubuntu
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.
Upgrade path
4 packages: 2 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/node-xmlhttprequest-ssl(Ubuntu 18.04) | = 1.6.0-1; All versions | No fix listed | No fix yet |
| ubuntu/node-xmlhttprequest-ssl(Ubuntu 20.04) | = 1.6.0-1; All versions | No fix listed | No fix yet |
| npm xmlhttprequest-ssl(npm) | < 1.6.1 | 1.6.1 | Fixed |
| xmlhttprequest-ssl project xmlhttprequest-ssl | < 1.6.1 | 1.6.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm xmlhttprequest-ssl(npm) | < 1.6.1 | 1.6.1 |
| xmlhttprequest-ssl project xmlhttprequest-ssl | < 1.6.1 | 1.6.1 |
| ubuntu/node-xmlhttprequest-ssl(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/node-xmlhttprequest-ssl(Ubuntu:18.04) | = 1.6.0-1 | No fix listed |
| ubuntu/node-xmlhttprequest-ssl(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/node-xmlhttprequest-ssl(Ubuntu:20.04) | = 1.6.0-1 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking patch third-party-advisory
- github.com issue-tracking patch release-notes third-party-advisory
- people.kingsds.network exploit issue-tracking third-party-advisory
- security.netapp.com third-party-advisory
- github.com
- ubuntu.com issue-tracking
- www.cve.org issue-tracking