rvvergara / advanced-web-developer-bootcamp-notes-examples-and-exercises

Examples and Exercises compiled. From the awesome Advanced Web Developer Bootcamp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CVE-2021-23343 (High) detected in path-parse-1.0.5.tgz

mend-bolt-for-github opened this issue · comments

CVE-2021-23343 - High Severity Vulnerability

Vulnerable Library - path-parse-1.0.5.tgz

Node.js path.parse() ponyfill

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

Path to dependency file: /Section29-Component-LifeCycle-Methods/hacker-news/package.json

Path to vulnerable library: /Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/path-parse/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/path-parse/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/path-parse/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/path-parse/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/path-parse/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/path-parse/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/path-parse/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/path-parse/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/path-parse/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/path-parse/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/path-parse/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/path-parse/package.json

Dependency Hierarchy:

  • react-scripts-1.1.4.tgz (Root Library)
    • resolve-1.6.0.tgz
      • path-parse-1.0.5.tgz (Vulnerable Library)

Found in base branch: master

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 (react-scripts): 1.1.5


Step up your Open Source Security Game with Mend here