CVE-2021-31597 (High) detected in xmlhttprequest-ssl-1.5.1.tgz #87
Description
CVE-2021-31597 - High Severity Vulnerability
Vulnerable Library - xmlhttprequest-ssl-1.5.1.tgz
XMLHttpRequest for Node
Library home page: https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.1.tgz
Path to dependency file: curratelo/package.json
Path to vulnerable library: curratelo/node_modules/xmlhttprequest-ssl/package.json
Dependency Hierarchy:
- socket.io-1.4.8.tgz (Root Library)
- socket.io-client-1.4.8.tgz
- engine.io-client-1.6.11.tgz
- ❌ xmlhttprequest-ssl-1.5.1.tgz (Vulnerable Library)
- engine.io-client-1.6.11.tgz
- socket.io-client-1.4.8.tgz
Found in HEAD commit: d5f27c24e5600ff99928b6751553a09158c42e04
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 (7.4)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: High
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: High
- Integrity Impact: High
- Availability Impact: None
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
Activity