CVE-2021-31597 (High) detected in xmlhttprequest-ssl-1.5.5.tgz
mend-bolt-for-github opened this issue · comments
CVE-2021-31597 - High Severity Vulnerability
Vulnerable Library - xmlhttprequest-ssl-1.5.5.tgz
XMLHttpRequest for Node
Library home page: https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.5.tgz
Path to dependency file: wormhole-crypto/package.json
Path to vulnerable library: wormhole-crypto/node_modules/xmlhttprequest-ssl/package.json
Dependency Hierarchy:
- airtap-4.0.3.tgz (Root Library)
- engine.io-client-3.3.2.tgz
- ❌ xmlhttprequest-ssl-1.5.5.tgz (Vulnerable Library)
- engine.io-client-3.3.2.tgz
Found in HEAD commit: 044b4a0706f0fa4d200d65345c838045c2d5be48
Found in base branch: master
Vulnerability Details
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.
Publish Date: 2021-04-23
URL: CVE-2021-31597
CVSS 3 Score Details (9.4)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: High
- Integrity Impact: High
- Availability Impact: Low
Suggested Fix
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-31597
Release Date: 2021-04-23
Fix Resolution: xmlhttprequest-ssl - 1.6.1
Step up your Open Source Security Game with WhiteSource here
This issue is in a dev dependency for testing airtap
and doesn't affect the package.