-
Notifications
You must be signed in to change notification settings - Fork 18
[Security] minimatch ReDoS vulnerabilities (GHSA-7r86-cg39-jmmj, GHSA-23c5-xmqv-rm74) #1147
Copy link
Copy link
Closed
Labels
dependenciesPull requests that update a dependency filePull requests that update a dependency filesecurity
Description
Security Vulnerability Report
Summary
- Package:
minimatch - Affected Version:
10.2.1(currently installed as transitive dependency) - Severity:
HIGH - CVE: Not assigned (tracked as GHSA-7r86-cg39-jmmj and GHSA-23c5-xmqv-rm74)
- CVSS Score: 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
Vulnerability Details
Two related ReDoS (Regular Expression Denial of Service) vulnerabilities in minimatch:
- GHSA-7r86-cg39-jmmj:
matchOne()causes combinatorial backtracking via multiple non-adjacent GLOBSTAR segments - GHSA-23c5-xmqv-rm74: Nested
*()extglobs generate catastrophically backtracking regular expressions
Both affect versions >=10.0.0 <10.2.3. The fixed version is 10.2.3+.
Impact on gh-aw-firewall
minimatch is a transitive dependency pulled in by:
@typescript-eslint/parser→@typescript-eslint/typescript-estreeeslint→@eslint/config-arrayglob(direct dependency)jesttest toolchain
These are primarily dev/build-time dependencies. A crafted glob pattern could cause high CPU usage and hang build/test processes, but does not directly affect the runtime firewall enforcement.
Remediation Steps
- Recommended Fix: Run
npm audit fixto update minimatch to10.2.4 - Alternative: Update
glob(direct dep) from13.0.1to13.0.6which pulls in a fixed minimatch - Command:
npm audit fix
Testing Required
- Run full test suite after update:
npm test - Verify build:
npm run build
References
Detection Details
- Detected by: Dependency Security Monitor Workflow
- Detection Time: 2026-03-05T00:52:10Z
- Source: npm audit
Generated by Dependency Security Monitor
- expires on Apr 4, 2026, 12:57 AM UTC
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
dependenciesPull requests that update a dependency filePull requests that update a dependency filesecurity
Type
Fields
Give feedbackNo fields configured for issues without a type.