CVE-2020-7733 (High) detected in ua-parser-js-0.7.18.tgz
mend-bolt-for-github opened this issue · comments
CVE-2020-7733 - High Severity Vulnerability
Vulnerable Library - ua-parser-js-0.7.18.tgz
Lightweight JavaScript-based user-agent string parser
Library home page: https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.18.tgz
Path to dependency file: /Section28-The-Virtual-DOM-Events-and-Forms/recipe-app-with-state/package.json
Path to vulnerable library: /Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/ua-parser-js/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/ua-parser-js/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/ua-parser-js/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/ua-parser-js/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/ua-parser-js/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/ua-parser-js/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/ua-parser-js/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/ua-parser-js/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/ua-parser-js/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/ua-parser-js/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/ua-parser-js/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/ua-parser-js/package.json
Dependency Hierarchy:
- react-16.4.1.tgz (Root Library)
- fbjs-0.8.17.tgz
- ❌ ua-parser-js-0.7.18.tgz (Vulnerable Library)
- fbjs-0.8.17.tgz
Found in base branch: master
Vulnerability Details
The package ua-parser-js before 0.7.22 are vulnerable to Regular Expression Denial of Service (ReDoS) via the regex for Redmi Phones and Mi Pad Tablets UA.
Publish Date: 2020-09-16
URL: CVE-2020-7733
CVSS 3 Score Details (7.5)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: None
- Availability Impact: High
Suggested Fix
Type: Upgrade version
Release Date: 2020-09-16
Fix Resolution (ua-parser-js): 0.7.22
Direct dependency fix Resolution (react): 16.4.2
Step up your Open Source Security Game with Mend here