CVE-2016-10540Minimatch Project Minimatch
High 7.5 No auth needed
Follow: this CVE · Minimatch Project · Minimatch Project Minimatch We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.0
- 7.5
- EPSS
- 1.5% probability of exploitation in 30 days · percentile 74
- Auth required
- No
- Published
- May 31, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Minimatch.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | minimatch |
< 3.0.2 |
3.0.2 |
npm install minimatch@3.0.2 |
Per OSV / GitHub Advisories (GHSA-hxm2-r34f-qmc5). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| minimatch_project | minimatch | ≤ 3.0.1 |
Official sources
References
Links published by the sources. Open them with care.
- nodesecurity.io Exploit Third Party Advisory