minimatch: Quadratic compile time for long wildcard patterns (regression in 11.0.0 `mergeRows`)
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| isaacs | minimatch | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Isaacs | Minimatch |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-cf2h-pxjq-68xw | minimatch: Quadratic compile time for long wildcard patterns (regression in 11.0.0 `mergeRows`) |
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.836% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Isaacs
Isaacs minimatch |
|
| Vendors & Products |
Isaacs
Isaacs minimatch |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. From 11.0.0 until 11.0.7, mergeRows() in src/index.ts repeatedly copies and joins an entire pattern row while iterating each wildcard position, causing quadratic compilation time for long wildcard-only path patterns even when only one row exists. An attacker who can supply uncached patterns to new Minimatch or another compiling entry point can block the JavaScript event loop and cause a denial of service, with brace-generated rows further multiplying the work. This issue is fixed in version 11.0.7. | |
| Title | minimatch: Quadratic compile time for long wildcard patterns (regression in 11.0.0 `mergeRows`) | |
| Weaknesses | CWE-407 | |
| References |
| |
| Metrics |
cvssV4_0
|