Glob matches files using patterns the shell uses.
Glob matches files using patterns the shell uses. From 13.0.5 until 14.0.6, the Ignore class in src/ignore.ts does not pass braceExpandMax to minimatch while using optimizationLevel: 2, so attacker-influenced ignore patterns can amplify into more globparts than the regular pattern path permits and cause quadratic work in secondPhasePreProcess(). Applications that accept untrusted ignore patterns can therefore experience disproportionate event-loop CPU consumption and denial of service. This issue is fixed in version 14.0.6.
Read at NIST National Vulnerability Database (CVE API 2.0)
- Vendor
- Isaacs
- Product
- node-glob
- CVSS v4.0
- 6.3 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Exploitation
- SSVC poc, automatable yes, impact partial
- Fix
- available
- Weakness
- CWE-400, CWE-405, CWE-770
- NVD status
- Received
Why it ranks 39 (Notable)
- Public exploit code reported
- CVSS v4.0 6.3 medium
- SSVC: automatable
- Fix available
- Recency: items published within 24 hours gain 15, within 72 hours 6, within 7 days 2.