Picomatch through 4.0.7 ReDoS via single-branch repeated extglob patterns
micromatch picomatch
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| micromatch picomatch |
| No fix yet |
Original description
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.
From the CVE record · VulnCheck