Highlights
Denial of Service: 3 prior fixes. Scrutinize any change in this area.
lib/constants.js: most-fixed (2 issues). Treat as high-risk during review.
2 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Denial of Service: Untrusted, crafted glob patterns containing nested extglobs or complex repetitions can cause exponential backtracking (ReDoS), blocking the single-threaded Node.js event loop. Developers must enforce parsing limits on nested structures.
Prototype Pollution: Glob compilation lookup tables that do not explicitly nullify their prototype are vulnerable to built-in property injection (like 'constructor' or 'toString'), leading to unexpected matching behavior or method injection.