Description (CNA)
Picomatch through 4.0.7 contains a regular expression denial of service vulnerability that allows attackers to block the event loop by supplying single-branch repeated extglob patterns. Attackers can provide globs like +(*) or +(*a), which analyzeRepeatedExtglob in lib/parse.js skips, causing exponential backtracking against short crafted strings and denying service to Node.js applications.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| micromatch / picomatch | affected 0 through 4.0.7 |
CWE
CWE-1333
References
- https://github.com/micromatch/picomatch/pull/194
- https://github.com/micromatch/picomatch/blob/4.0.7/lib/parse.js#L287-L307
- https://www.vulncheck.com/advisories/picomatch-through-4.0.7-redos-via-single-branch-repeated-extglob-patterns
ADP enrichment
No English description supplied.
No references supplied.