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

pug-3.0.2.tgz: 1 vulnerabilities (highest severity is: 7.5) #143

Open
mend-bolt-for-github bot opened this issue Jan 24, 2023 · 0 comments
Open

pug-3.0.2.tgz: 1 vulnerabilities (highest severity is: 7.5) #143

mend-bolt-for-github bot opened this issue Jan 24, 2023 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Jan 24, 2023

Vulnerable Library - pug-3.0.2.tgz

Path to dependency file: /package.json

Path to vulnerable library: /back/node_modules/path-parse/package.json

Found in HEAD commit: a8aac7ef7c0f326ac28134b733a159f6af102963

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (pug version) Remediation Possible**
CVE-2021-23343 High 7.5 path-parse-1.0.6.tgz Transitive 3.0.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: /back/package.json

Path to vulnerable library: /back/node_modules/path-parse/package.json

Dependency Hierarchy:

  • pug-3.0.2.tgz (Root Library)
    • pug-filters-4.0.0.tgz
      • resolve-1.20.0.tgz
        • path-parse-1.0.6.tgz (Vulnerable Library)

Found in HEAD commit: a8aac7ef7c0f326ac28134b733a159f6af102963

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 (pug): 3.0.3

Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend
Projects
None yet
Development

No branches or pull requests

0 participants