7.5high
CVE-2016-10540
Regular Expression Denial of Service in minimatch
Also known as GHSA-hxm2-r34f-qmc5
Published 8 y ago · modified 4 mo ago · JSON
CVSS
7.5
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
1.5%
percentile 74%
Public exploits
0
none known
Summary
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.
Exploit prediction (EPSS)
1.50% probability of exploitation in the next 30 days, higher than 74% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | minimatch | <3.0.2 | 3.0.2 |
Affected products
- HackerOne minimatch node module
Classification
References
- nodesecurity.io /advisories/118 · x_refsource_MISC, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2016-10540 · advisory
- github.com /advisories/GHSA-hxm2-r34f-qmc5 · advisory
- npmjs.com /advisories/118 · web
Sources
- CVE List: CVE-2016-10540
- GitHub Advisory: GHSA-hxm2-r34f-qmc5
- NVD: CVE-2016-10540
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.