NodeJS/minimatch/11.0.0
a glob matcher in javascript
https://www.npmjs.com/package/minimatch
BlueOak-1.0.0
1 Security Vulnerabilities
minimatch has potential denial of service via globparts amplification
- https://github.com/isaacs/minimatch/security/advisories/GHSA-g3hv-75wg-m249
- https://nvd.nist.gov/vuln/detail/CVE-2026-118764
- https://github.com/isaacs/minimatch/commit/77a0f5c4b80bdc641c3c930a1d9edf5ad2db57f8
- https://github.com/isaacs/minimatch/releases/tag/v11.0.1
- https://github.com/advisories/GHSA-g3hv-75wg-m249
minimatch 10.2.6 contains an attacker-controlled pattern amplification in firstPhasePreProcess() when optimizationLevel >= 2.
researcher: Reid Downing (b1nv0id) files:
- src/index.ts: 690-770
- src/index.ts: 780-796
issue: input-controlled growth of globParts during first-phase preprocessing, followed by quadratic second-phase processing.
the /../ transformation clones a globparts entry and appends the clone to the same globparts array: ``` parts.splice(gs, 1) const other = parts.slice(0) other[gs] = '' globParts.push(other) ``` this occurs inside a do...while (didSomething) fixpoint loop, allowing generated entries to be processed again.
the expanded globparts array is subsequently processed by secondPhasePreProcess(), which performs pairwise comparisons: for (let i = 0; i < globParts.length - 1; i++) { for (let j = i + 1; j < globParts.length; j++) { this.partsMatch(...) } } an attacker who can supply a glob pattern can therefore cause additional pattern entries to be generated during preprocessing, followed by quadratic pairwise processing, resulting in excessive cpu and memory consumption.
150 Other Versions
| Version | License | Security | Released | |
|---|---|---|---|---|
| 11.0.4 | BlueOak-1.0.0 | 2026-11-02 - 04:50 | 2 days | |
| 11.0.3 | BlueOak-1.0.0 | 2026-10-28 - 20:00 | 7 days | |
| 11.0.2 | BlueOak-1.0.0 | 2026-10-28 - 01:08 | 8 days | |
| 11.0.1 | BlueOak-1.0.0 | 2026-10-27 - 22:26 | 8 days | |
| 11.0.0 | BlueOak-1.0.0 | 1 | 2026-10-27 - 21:19 | 8 days |
| 10.2.6 | BlueOak-1.0.0 | 1 | 2026-07-27 - 19:00 | 3 months |
| 10.2.5 | BlueOak-1.0.0 | 1 | 2026-03-30 - 18:08 | 7 months |
| 10.2.4 | BlueOak-1.0.0 | 1 | 2026-02-25 - 17:13 | 8 months |
| 10.2.3 | BlueOak-1.0.0 | 1 | 2026-02-25 - 00:19 | 8 months |
| 10.2.2 | BlueOak-1.0.0 | 3 | 2026-02-19 - 17:18 | 9 months |
| 10.2.1 | BlueOak-1.0.0 | 3 | 2026-02-17 - 04:33 | 9 months |
| 10.2.0 | BlueOak-1.0.0 | 4 | 2026-02-12 - 18:47 | 9 months |
| 10.1.3 | BlueOak-1.0.0 | 4 | 2026-02-12 - 18:29 | 9 months |
| 10.1.2 | BlueOak-1.0.0 | 4 | 2026-02-03 - 17:50 | 9 months |
| 10.1.1 | BlueOak-1.0.0 | 4 | 2025-10-28 - 22:58 | about 1 year |
| 10.1.0 | BlueOak-1.0.0 | 4 | 2025-10-28 - 22:27 | about 1 year |
| 10.0.3 | ISC | 4 | 2025-06-12 - 20:19 | over 1 year |
| 10.0.2 | ISC | 4 | 2025-06-11 - 18:09 | over 1 year |
| 10.0.1 | ISC | 4 | 2024-07-08 - 23:02 | over 2 years |
| 10.0.0 | ISC | 4 | 2024-07-08 - 21:53 | over 2 years |
| 9.0.9 | ISC | 1 | 2026-02-26 - 19:32 | 8 months |
| 9.0.8 | ISC | 1 | 2026-02-25 - 17:13 | 8 months |
| 9.0.7 | ISC | 1 | 2026-02-25 - 00:19 | 8 months |
| 9.0.6 | ISC | 3 | 2026-02-22 - 02:04 | 9 months |
| 9.0.5 | ISC | 4 | 2024-06-25 - 22:41 | over 2 years |
| 9.0.4 | ISC | 4 | 2024-03-28 - 19:42 | over 2 years |
| 9.0.3 | ISC | 4 | 2023-07-06 - 17:05 | over 3 years |
| 9.0.2 | ISC | 4 | 2023-06-23 - 21:12 | over 3 years |
| 9.0.1 | ISC | 4 | 2023-05-20 - 20:53 | over 3 years |
| 9.0.0 | ISC | 4 | 2023-04-09 - 22:15 | over 3 years |
| 8.0.7 | ISC | 1 | 2026-02-25 - 17:14 | 8 months |
| 8.0.6 | ISC | 1 | 2026-02-25 - 00:21 | 8 months |
| 8.0.5 | ISC | 3 | 2026-02-22 - 02:13 | 9 months |
| 8.0.4 | ISC | 4 | 2023-04-09 - 20:17 | over 3 years |
| 8.0.3 | ISC | 4 | 2023-04-03 - 16:51 | over 3 years |
| 8.0.2 | ISC | 4 | 2023-04-02 - 03:41 | over 3 years |
| 8.0.1 | ISC | 4 | 2023-04-02 - 03:39 | over 3 years |
| 8.0.0 | ISC | 4 | 2023-04-02 - 03:33 | over 3 years |
| 7.4.9 | ISC | 1 | 2026-02-25 - 17:15 | 8 months |
| 7.4.8 | ISC | 1 | 2026-02-25 - 00:22 | 8 months |
| 7.4.7 | ISC | 3 | 2026-02-22 - 02:14 | 9 months |
| 7.4.6 | ISC | 4 | 2023-04-09 - 20:18 | over 3 years |
| 7.4.5 | ISC | 4 | 2023-04-03 - 16:49 | over 3 years |
| 7.4.4 | ISC | 4 | 2023-04-01 - 23:44 | over 3 years |
| 7.4.3 | ISC | 4 | 2023-03-22 - 18:52 | over 3 years |
| 7.4.2 | ISC | 4 | 2023-03-01 - 20:13 | over 3 years |
| 7.4.1 | ISC | 4 | 2023-03-01 - 07:59 | over 3 years |
| 7.4.0 | ISC | 4 | 2023-03-01 - 06:59 | over 3 years |
| 7.3.0 | ISC | 4 | 2023-02-27 - 19:58 | over 3 years |
| 7.2.0 | ISC | 4 | 2023-02-26 - 09:13 | over 3 years |
