Skip to content

fix(deps): bump nested brace-expansion to 5.0.8 in client/web - #43

Merged
tiennm99 merged 1 commit into
mainfrom
fix/brace-expansion-dos-260725
Jul 25, 2026
Merged

tiennm99 merged 1 commit into
mainfrom
fix/brace-expansion-dos-260725

Conversation

@tiennm99

Copy link
Copy Markdown
Member

Resolves Dependabot alert #73 (GHSA-mh99-v99m-4gvg, high): brace-expansion DoS via unbounded expansion length.

Why Dependabot could not do this

Dependabot's security update failed because it tries to satisfy one version across the whole tree, and two trees disagree:

  • @capacitor/cli -> minimatch@10.2.5 -> brace-expansion@^5.0.5
  • protobufjs-cli -> minimatch@5.1.9 -> brace-expansion@^2.0.1

Only the 5.x instance is flagged (alert #38 followed the same pattern: 5.0.6 -> 5.0.7). minimatch@10.2.5 accepts ^5.0.5, so bumping the nested entry to 5.0.8 needs no overrides and leaves the 2.x tree untouched.

Change

Lockfile-only: node_modules/rimraf/node_modules/brace-expansion 5.0.7 -> 5.0.8 (dev scope).

Verification

  • npm ci clean (integrity validated)
  • npm test 14/14 passed
  • npm run build-nolog succeeded

The rimraf-scoped brace-expansion resolved to 5.0.7, which is vulnerable to
unbounded expansion DoS (GHSA-mh99-v99m-4gvg). minimatch@10.2.5 accepts
^5.0.5, so 5.0.8 resolves without an override.
@tiennm99
tiennm99 merged commit bcb75a1 into main Jul 25, 2026
2 checks passed
@tiennm99
tiennm99 deleted the fix/brace-expansion-dos-260725 branch July 25, 2026 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant