minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Starting in 7.0.0 and prior to 11.0.1, src/ind...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTSnode-minimatch |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSnode-minimatch |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSnode-minimatch |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSnode-minimatch |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSnode-minimatch |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSnode-minimatch |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10node-minimatch |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSnode-minimatch |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Starting in 7.0.0 and prior to 11.0.1, src/index.ts implements firstPhasePreProcess() so that, at optimizationLevel 2 or higher, it repeatedly expands attacker-controlled **/.. pattern segments inside a fixpoint loop, allowing generated globParts entries to be processed and expanded again. secondPhasePreProcess() then compares the expanded entries pairwise, so a short malicious glob can cause excessive CPU and memory consumption during pattern compilation. This issue is fixed in version 11.0.1.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report github.com
- report github.com
- report github.com