CVE-2016-10540
High
Description
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.
SeverityHigh
CVSS7.5
Exploit probability—
ProductMinimatch
PublishedMay 31, 2018
First seenMay 31, 2018
Weakness typeCWE-400Uncontrolled resource consumption
How to fix
Update
- minimatch3.0.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| minimatch_project minimatch | v ≤ 3.0.1 | — |
| minimatchnpm | v < 3.0.2 | 3.0.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.