hatemhosny / racing-bars

Bar chart race made easy 🎉
https://racing-bars.hatemhosny.dev/
MIT License
75 stars 4 forks source link

tslint-6.1.2.tgz: 1 vulnerabilities (highest severity is: 7.5) #128

Closed mend-bolt-for-github[bot] closed 2 months ago

mend-bolt-for-github[bot] commented 8 months ago
Vulnerable Library - tslint-6.1.2.tgz

Path to dependency file: /tmp/ws-scm/racing-bars-history/src/angular/package.json

Path to vulnerable library: /tmp/ws-scm/racing-bars-history/src/angular/node_modules/path-parse/package.json,/tmp/ws-scm/racing-bars-history/src/angular/node_modules/path-parse/package.json

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (tslint version) Remediation Possible**
CVE-2021-23343 High 7.5 path-parse-1.0.6.tgz Transitive 6.1.3

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2021-23343 ### Vulnerable Library - path-parse-1.0.6.tgz

Node.js path.parse() ponyfill

Library home page: https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz

Path to dependency file: /tmp/ws-scm/racing-bars-history/package.json

Path to vulnerable library: /tmp/ws-scm/racing-bars-history/src/angular/node_modules/path-parse/package.json,/tmp/ws-scm/racing-bars-history/src/angular/node_modules/path-parse/package.json

Dependency Hierarchy: - tslint-6.1.2.tgz (Root Library) - resolve-1.17.0.tgz - :x: **path-parse-1.0.6.tgz** (Vulnerable Library)

Found in base branch: develop

### Vulnerability Details

All versions of package path-parse are vulnerable to Regular Expression Denial of Service (ReDoS) via splitDeviceRe, splitTailRe, and splitPathRe regular expressions. ReDoS exhibits polynomial worst-case time complexity.

Publish Date: 2021-05-04

URL: CVE-2021-23343

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

Release Date: 2021-05-04

Fix Resolution (path-parse): 1.0.7

Direct dependency fix Resolution (tslint): 6.1.3

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)