Skip to content

chore(deps): bump brace-expansion to patch DoS in docs - #43665

Merged
hainenber merged 1 commit into
masterfrom
chore/security-bump-brace-expansion-docs
Aug 29, 2026
Merged

hainenber merged 1 commit into
masterfrom
chore/security-bump-brace-expansion-docs

Conversation

@rusackas

Copy link
Copy Markdown
Member

SUMMARY

brace-expansion@^1.1.7 (required by [email protected], pulled in transitively via eslint and eslint-plugin-react in docs/) was resolved at 1.1.15 — vulnerable to a series of DoS classes fixed progressively through 1.1.16 → 1.1.18:

  • unbounded expansion length causing an out-of-memory crash
  • exponential-time expansion of consecutive non-expanding braces
  • unbounded intermediate arrays bypassing an earlier partial fix for the above

minimatch's own declared range (^1.1.7) already permits the patched version — yarn's classic resolver was simply reusing the older lockfile entry rather than re-resolving it, since yarn install alone doesn't upgrade a transitive dependency already satisfied by an existing lockfile entry. Bumped in place to 1.1.18.

The other two brace-expansion instances already in this lockfile (5.0.7, 5.0.9 — an unrelated major rewrite pulled in elsewhere in the docs toolchain) were already unaffected; these CVEs are scoped to the 1.x line.

Fixes Dependabot alerts #1482, #1477, #1402.

TESTING INSTRUCTIONS

Transitive lockfile-only version bump — no source or docs content changed, so no new tests are needed. yarn install resolves cleanly with no dependency-graph shuffle beyond the one patched entry (diff is 3 changed lines: version, tarball URL, integrity hash). CI's docs build is the regression check.

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration
  • Introduces new feature or API
  • Removes existing feature or API

brace-expansion@^1.1.7 (required by [email protected], pulled in via
eslint and eslint-plugin-react) was resolved at 1.1.15, vulnerable to
several DoS classes fixed progressively through 1.1.16-1.1.18:
unbounded expansion length causing OOM, exponential-time expansion of
consecutive non-expanding braces, and unbounded intermediate arrays
bypassing an earlier partial fix.

minimatch's own declared range (^1.1.7) already permits the patched
version; yarn's classic resolver was just reusing the older lockfile
entry rather than re-resolving it. Bumped in place to 1.1.18.

The other two brace-expansion instances in this lockfile (5.0.7,
5.0.9, an unrelated major rewrite pulled in elsewhere) were already
unaffected -- these CVEs are scoped to the 1.x line.

Fixes GHSA-v6h2-p8h4-qcjw, GHSA-xw8m-p6c8-cgvw, GHSA-3q56-9cvp-6jm7 as
flagged by Dependabot alerts #1482, #1477, #1402.

No source or docs content changed -- this is a transitive lockfile-only
version bump, so no new tests are needed; CI's docs build is the
regression check.
@bito-code-review

bito-code-review Bot commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

Code Review Agent Run #ea2c12

Actionable Suggestions - 0
Additional Suggestions - 1
  • docs/yarn.lock - 1
    • Manual lockfile edit · Line 6617-6619
      This hand-edits the `brace-expansion` entry (version/resolved/integrity) rather than regenerating it via `yarn install`. The integrity hash and sha1 were verified correct against the npm registry and 1.1.18 satisfies `[email protected]`'s `^1.1.7` range, so no functional risk — but BITO.md adaptive rule 10438 requires lockfiles be updated only through the package manager.
Review Details
  • Files reviewed - 1 · Commit Range: 67e52a5..67e52a5
    • docs/yarn.lock
  • Files skipped - 0
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers an incremental AI Review.

  • /review full - Manually triggers a full AI Review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at [email protected].

Documentation & Help

AI Code Review powered by Bito Logo

@github-actions github-actions Bot added doc Namespace | Anything related to documentation preset-io and removed dependencies:npm labels Aug 28, 2026
@netlify

netlify Bot commented Aug 28, 2026

Copy link
Copy Markdown

✅ Deploy Preview for superset-docs-preview ready!

Name Link
🔨 Latest commit 67e52a5
🔍 Latest deploy log https://app.netlify.com/projects/superset-docs-preview/deploys/6a921aeedbebcf00086be64e
😎 Deploy Preview https://deploy-preview-43665--superset-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@hainenber
hainenber merged commit 9151b5c into master Aug 29, 2026
74 checks passed
@hainenber
hainenber deleted the chore/security-bump-brace-expansion-docs branch August 29, 2026 07:02
rusackas added a commit that referenced this pull request Aug 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Namespace | Anything related to documentation preset-io size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants