turkdevops / setup-node

Set up your GitHub Actions workflow with a specific version of node.js
MIT License
1 stars 0 forks source link

CVE-2021-23343 (High) detected in path-parse-1.0.6.tgz #98

Open mend-bolt-for-github[bot] opened 9 months ago

mend-bolt-for-github[bot] commented 9 months ago

CVE-2021-23343 - High Severity Vulnerability

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: /toolkit/actions-github-0.0.0/package/package.json

Path to vulnerable library: /toolkit/actions-github-0.0.0/package/node_modules/path-parse/package.json,/node_modules/path-parse/package.json

Dependency Hierarchy: - jest-24.9.0.tgz (Root Library) - jest-cli-24.9.0.tgz - core-24.9.0.tgz - transform-24.9.0.tgz - babel-plugin-istanbul-5.2.0.tgz - test-exclude-5.2.3.tgz - read-pkg-up-4.0.0.tgz - read-pkg-3.0.0.tgz - normalize-package-data-2.5.0.tgz - resolve-1.20.0.tgz - :x: **path-parse-1.0.6.tgz** (Vulnerable Library)

Found in base branch: auth-test

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 (jest): 25.0.0


Step up your Open Source Security Game with Mend here