CVE-2021-29059 (High) detected in is-svg-2.1.0.tgz
mend-bolt-for-github opened this issue · comments
CVE-2021-29059 - High Severity Vulnerability
Vulnerable Library - is-svg-2.1.0.tgz
Check if a string or buffer is SVG
Library home page: https://registry.npmjs.org/is-svg/-/is-svg-2.1.0.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/is-svg/package.json
Dependency Hierarchy:
- react-scripts-1.1.4.tgz (Root Library)
- css-loader-0.28.7.tgz
- cssnano-3.10.0.tgz
- postcss-svgo-2.1.6.tgz
- ❌ is-svg-2.1.0.tgz (Vulnerable Library)
- postcss-svgo-2.1.6.tgz
- cssnano-3.10.0.tgz
- css-loader-0.28.7.tgz
Found in HEAD commit: 0e43f8a8784f998d39b6419534b6a54485225e6e
Found in base branch: master
Vulnerability Details
A vulnerability was discovered in IS-SVG version 2.1.0 to 4.2.2 and below where a Regular Expression Denial of Service (ReDOS) occurs if the application is provided and checks a crafted invalid SVG string.
Publish Date: 2021-06-21
URL: CVE-2021-29059
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: 2021-06-21
Fix Resolution (is-svg): 4.3.0
Direct dependency fix Resolution (react-scripts): 2.0.0
Step up your Open Source Security Game with Mend here