Skip to content

[agent] chore(deps): pin brace-expansion to 5.0.6 (GHSA-jxxr-4gwj-5jf2)#754

Draft
github-actions[bot] wants to merge 1 commit into
mainfrom
fix/brace-expansion-5.0.6-GHSA-jxxr-4gwj-5jf2-8b765a43e2d1bf6d
Draft

[agent] chore(deps): pin brace-expansion to 5.0.6 (GHSA-jxxr-4gwj-5jf2)#754
github-actions[bot] wants to merge 1 commit into
mainfrom
fix/brace-expansion-5.0.6-GHSA-jxxr-4gwj-5jf2-8b765a43e2d1bf6d

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Summary

Pins brace-expansion to 5.0.6 to remediate CVE-2026-45149 / GHSA-jxxr-4gwj-5jf2 (Dependabot alert #262).

Vulnerability: Large numeric range {1..10000000} defeats the documented max DoS protection — the full intermediate array is allocated before the limit is applied, consuming ~505 MB and ~800 ms even when only 10 items are returned.

Severity: Medium (CVSS 6.5)

Changes

package.json

Added an npm overrides entry to force all transitive resolutions of brace-expansion to 5.0.6:

"overrides": {
  "brace-expansion": "5.0.6"
}

package-lock.json

Updated by running npm install --package-lock-only --ignore-scripts. The root-level override resolved most instances automatically. One workspace-nested entry (packages/sbom-tools/node_modules/brace-expansion) was not automatically updated due to known npm workspace override behaviour — it was patched directly in the lockfile. The updated version (5.0.6) satisfies all declared ranges (^5.0.5) in that sub-tree.

Why overrides (not a direct bump)?
brace-expansion is a transitive dependency pulled in via multiple chains (e.g. rimraf → glob → minimatch → brace-expansion, lerna → glob → minimatch → brace-expansion, etc.). None of the direct dependencies have released a version that pulls in 5.0.6 yet, so an overrides pin is the appropriate remediation.

Alerts addressed

Generated by Dependabot remediation agent · ● 1.5M ·

Adds npm overrides to pin brace-expansion to 5.0.6 across all
transitive dependencies. Also patches the package-lock.json entry for
packages/sbom-tools/node_modules/brace-expansion which was not
automatically updated due to npm workspace override behaviour.

Fixes CVE-2026-45149 / GHSA-jxxr-4gwj-5jf2 (Dependabot alert #262).

Co-authored-by: Copilot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants