ember-cli / ember-cli/ember-cli-htmlbars

Security: Vulnerable dependency minimatch@3.1.2 [SNYK-JS-MINIMATCH-15309438, CVE-2026-26996]

Aperta
#792 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
77
Fork
65
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## Summary

`ember-cli-htmlbars@7.0.0` depends on multiple vulnerable versions of `minimatch` (`3.1.2`, `9.0.5`), which are vulnerable to **Regular Expression Denial of Service (ReDoS)** (High severity).

- **Snyk Advisory:** https://security.snyk.io/vuln/SNYK-JS-MINIMATCH-15309438
- **Fix Commit:** https://github.com/isaacs/minimatch/commit/2e111f3a79abc00fa73110195de2c0f2351904f5
- **Severity:** High

## Vulnerability Details

Affected versions of `minimatch` are vulnerable to ReDoS in the `AST` class, caused by catastrophic backtracking when an input string contains many `*` characters in a row followed by an unmatched character.

## Example Affected Dependency Paths

`minimatch` is pulled in through multiple paths in `ember-cli-htmlbars@7.0.0`:

| # | Dependency Path |
|---|----------------|
| 1 | `ember-cli-htmlbars` → `walk-sync@4.0.1` → `matcher-collection@2.0.1` → `minimatch@3.1.2` |
| 2 | `ember-cli-htmlbars` → `broccoli-plugin@4.0.7` → `rimraf@3.0.2` → `glob@7.2.3` → `minimatch@3.1.2` |
| 3 | `ember-cli-htmlbars` → `broccoli-persistent-filter@3.1.3` → `rimraf@3.0.2` → `glob@7.2.3` → `minimatch@3.1.2` |
| 4 | `ember-cli-htmlbars` → `broccoli-plugin@4.0.7` → `quick-temp@0.1.9` → `rimraf@5.0.10` → `glob@10.5.0` → `minimatch@9.0.5` |
| | few more... |

## Potential Remediation

1. Fix has been given in minimatch to version 10.2.1 or higher. **Upgrade transitive dependencies** that pull in vulnerable `minimatch` versions — particularly `broccoli-plugin`, `broccoli-persistent-filter`, `broccoli-debug`, `walk-sync`, `rimraf`, and `glob` — to versions that depend on `minimatch@>=10.2.1`

## References

- https://security.snyk.io/vuln/SNYK-JS-MINIMATCH-15309438
- https://github.com/isaacs/minimatch/commit/2e111f3a79abc00fa73110195de2c0f2351904f5

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.