Skip to content

CVE-2016-10540 (High) detected in minimatch-0.3.0.tgz, minimatch-2.0.10.tgz - autoclosed #41

@mend-for-github-com

Description

@mend-for-github-com

CVE-2016-10540 - High Severity Vulnerability

Vulnerable Libraries - minimatch-0.3.0.tgz, minimatch-2.0.10.tgz

minimatch-0.3.0.tgz

a glob matcher in javascript

Library home page: https://registry.npmjs.org/minimatch/-/minimatch-0.3.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/tape/node_modules/minimatch/package.json

Dependency Hierarchy:

  • tape-3.6.1.tgz (Root Library)
    • glob-3.2.11.tgz
      • minimatch-0.3.0.tgz (Vulnerable Library)
minimatch-2.0.10.tgz

a glob matcher in javascript

Library home page: https://registry.npmjs.org/minimatch/-/minimatch-2.0.10.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/babel-core/node_modules/minimatch/package.json,/node_modules/eslint/node_modules/minimatch/package.json

Dependency Hierarchy:

  • standard-4.5.4.tgz (Root Library)
    • eslint-0.24.1.tgz
      • minimatch-2.0.10.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Minimatch is a minimal matching utility that works by converting glob expressions into JavaScript "RegExp" objects. The primary function, "minimatch(path, pattern)" in Minimatch 3.0.1 and earlier is vulnerable to ReDoS in the "pattern" parameter.
Mend Note: The description of this vulnerability differs from MITRE.

Publish Date: 2018-05-31

URL: CVE-2016-10540

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: https://www.npmjs.com/advisories/118

Release Date: 2018-05-31

Fix Resolution (minimatch): 3.0.2

Direct dependency fix Resolution (tape): 4.0.0

Fix Resolution (minimatch): 3.0.2

Direct dependency fix Resolution (standard): 6.0.0


  • Check this box to open an automated fix PR

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions