flamencist / flamencist/SelectorGenerator

CVE-2016-10540 (High) detected in minimatch-0.2.14.tgz, minimatch-2.0.10.tgz

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Mend: dependency security vulnerability
Dominant language
JavaScript
Stars
20
Forks
7
PR merge metrics
No merged PRs in 30d

Description

## CVE-2016-10540 - High Severity Vulnerability
Vulnerable Libraries - minimatch-0.2.14.tgz, minimatch-2.0.10.tgz


minimatch-0.2.14.tgz

a glob matcher in javascript


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


Path to dependency file: /package.json


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


Dependency Hierarchy:
- gulp-3.9.1.tgz (Root Library)
- vinyl-fs-0.3.14.tgz
- glob-watcher-0.0.6.tgz
- gaze-0.5.2.tgz
- globule-0.1.0.tgz
- :x: **minimatch-0.2.14.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/glob-stream/node_modules/minimatch/package.json


Dependency Hierarchy:
- gulp-3.9.1.tgz (Root Library)
- vinyl-fs-0.3.14.tgz
- glob-stream-3.1.18.tgz
- :x: **minimatch-2.0.10.tgz** (Vulnerable Library)

Found in HEAD commit: dc2f1b08ce7e752558190e9785094a6975b614fd



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.

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://nvd.nist.gov/vuln/detail/CVE-2016-10540


Release Date: 2018-04-26


Fix Resolution (minimatch): 3.0.2


Direct dependency fix Resolution (gulp): 4.0.0

Fix Resolution (minimatch): 3.0.2


Direct dependency fix Resolution (gulp): 4.0.0

***
Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.