Jordan-Hall / Jordan-Hall/angular-libs

CVE-2021-28092 (High) detected in is-svg-3.0.0.tgz

Open
#19 0 comments 0 reactions 0 assignees View on GitHub
security vulnerability
Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## CVE-2021-28092 - High 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: angular-libs/package.json


Path to vulnerable library: angular-libs/node_modules/is-svg/package.json


Dependency Hierarchy:
- build-angular-0.901.0.tgz (Root Library)
- cssnano-4.1.10.tgz
- cssnano-preset-default-4.0.7.tgz
- postcss-svgo-4.0.2.tgz
- :x: **is-svg-3.0.0.tgz** (Vulnerable Library)

Found in HEAD commit: 56aa3b07520f7fffbf9bc9666d0f2d801a054e33


Found in base branch: master



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 (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


For more information on CVSS3 Scores, click here.


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](https://www.whitesourcesoftware.com/full_solution_bolt_github)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.