-
-
Notifications
You must be signed in to change notification settings - Fork 1
Description
CVE-2021-28092 - Medium Severity Vulnerability
Vulnerable Library - is-svg-3.0.0.tgz
Check if a string or buffer is SVG
Library home page: https://registry.npmjs.org/is-svg/-/is-svg-3.0.0.tgz
Path to dependency file: react-accordion-ts/package.json
Path to vulnerable library: react-accordion-ts/node_modules/is-svg/package.json,react-accordion-ts/demo/node_modules/is-svg/package.json
Dependency Hierarchy:
- cssnano-4.1.10.tgz (Root Library)
- cssnano-preset-default-4.0.7.tgz
- postcss-svgo-4.0.2.tgz
- ❌ is-svg-3.0.0.tgz (Vulnerable Library)
- postcss-svgo-4.0.2.tgz
- cssnano-preset-default-4.0.7.tgz
Found in HEAD commit: 0797b6ba40f9b677fdbbdce628b88ded55acea20
Vulnerability Details
The is-svg package 2.1.0 through 4.2.1 for Node.js uses a regular expression that is vulnerable to Regular Expression Denial of Service (ReDoS). If an attacker provides a malicious string, is-svg will get stuck processing the input for a very long time.
Publish Date: 2021-03-12
URL: CVE-2021-28092
CVSS 3 Score Details (5.3)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: Low
- Integrity Impact: None
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-28092
Release Date: 2021-03-12
Fix Resolution: v4.2.2
Step up your Open Source Security Game with WhiteSource here