Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mend-for-github.aaakk.us.kg bot opened this issue May 27, 2021 · 2 comments
Closed
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github.aaakk.us.kg
Copy link
Contributor

mend-for-github.aaakk.us.kg bot commented May 27, 2021

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: git-en-boite/package.json

Path to vulnerable library: git-en-boite/node_modules/path-parse

Dependency Hierarchy:

  • git-en-boite-acceptance-tests-0.0.0.tgz (Root Library)
    • ts-node-dev-1.1.6.tgz
      • resolve-1.19.0.tgz
        • path-parse-1.0.6.tgz (Vulnerable Library)

Found in HEAD commit: b7dfb2d50b860530923f69eeca11f5eaa7b1ecd7

Found in base branch: main

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

Origin: jbgutierrez/path-parse#8

Release Date: 2021-05-04

Fix Resolution: path-parse - 1.0.7

@mend-for-github.aaakk.us.kg mend-for-github.aaakk.us.kg bot added the security vulnerability Security vulnerability detected by WhiteSource label May 27, 2021
@mend-for-github.aaakk.us.kg mend-for-github.aaakk.us.kg bot changed the title CVE-2021-23343 (High) detected in path-parse-1.0.6.tgz CVE-2021-23343 (High) detected in path-parse-1.0.6.tgz - autoclosed Jun 10, 2021
@mend-for-github.aaakk.us.kg
Copy link
Contributor Author

✔️ This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.

@mend-for-github.aaakk.us.kg mend-for-github.aaakk.us.kg bot changed the title CVE-2021-23343 (High) detected in path-parse-1.0.6.tgz - autoclosed CVE-2021-23343 (High) detected in path-parse-1.0.6.tgz Jul 9, 2021
@mend-for-github.aaakk.us.kg
Copy link
Contributor Author

ℹ️ This issue was automatically re-opened by WhiteSource because the vulnerable library in the specific branch(es) has been detected in the WhiteSource inventory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants