Repository navigation
fix(deps): unstick the brace-expansion override off a now-vulnerable pin - #414
Conversation
Audit of the whole `pnpm.overrides` block against current GitHub advisories. Two entries had gone stale; the rest still sit at or above their first-patched version and are unchanged. brace-expansion — this one is a live HIGH exposure, not just dead weight. GHSA-mh99-v99m-4gvg / CVE-2026-14257 (DoS via unbounded expansion length -> OOM crash, CVSS 7.5) published 2026-07-24 with vulnerable range `<= 5.0.7`. Both overrides pinned versions inside that range and therefore *held the tree on vulnerable code*: brace-expansion@<1.1.16 -> 1.1.16 (vulnerable) brace-expansion@>=5.0.0 <5.0.7 -> 5.0.7 (vulnerable, and the range does not even cover the version it forces) Upstream backported the fix per major line rather than only on 5.x, so each line moves to its own patched release instead of forcing a v1 consumer up four majors: brace-expansion@<1.1.17 -> 1.1.17 brace-expansion@>=5.0.0 <5.0.8 -> 5.0.8 1.1.17 is the v1 backport (juliangruber/brace-expansion#129, base v1, merged 2026-07-29T10:43Z; 1.1.17 published 10:45Z). The GitHub advisory's flat `<= 5.0.7` range has not been split per line yet, so 1.1.17 still reads as affected there. Verified in the shipped source instead: both 1.1.17 and 5.0.8 carry `EXPANSION_MAX_LENGTH = 4_000_000` with the CVE-2026-14257 citation. Tree resolves 1.1.17 (via minimatch 3.x chains) and 5.0.8 (via minimatch 10.2.5 <- @typescript-eslint/typescript-estree). vite — `vite@>=7.0.0 <=7.3.4: 7.3.5` is dead as of #365. The tree now resolves only vite 8.1.5, so nothing matches that range. Retargeted to the 8.x line as a forward guard for transitive drift: vite@>=8.0.0 <=8.0.15 -> 8.0.16 Unchanged and re-verified as current: esbuild 0.28.1, fast-uri 3.1.4, postcss 8.5.18, ws 8.21.0, js-yaml 4.3.0, sharp 0.35.3, @babel/core 7.29.7. Local: lint, format:check, tsc --noEmit, test:registry and test:int (32 files / 379 tests) all green. Co-Authored-By: Claude Opus 5 <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reached
Next review available in: 53 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Follow-up to #365 / #412. Audited the entire
pnpm.overridesblock against current GitHub advisories. Two entries had gone stale — one of them is a live HIGH exposure, not just dead weight.1. brace-expansion — the override was holding the tree on vulnerable code
GHSA-mh99-v99m-4gvg / CVE-2026-14257 — DoS via unbounded expansion length causing an out-of-memory process crash, HIGH, CVSS 7.5, published 2026-07-24. Vulnerable range:
<= 5.0.7.Both existing overrides pinned versions inside that range:
brace-expansion@<1.1.161.1.16brace-expansion@>=5.0.0 <5.0.75.0.7That second one is the nastier shape: the range excludes
5.0.7, so anything already asking for5.0.7sailed straight through unmodified while the override looked like it was doing its job.Upstream backported the fix per major line rather than only on 5.x, so each line moves to its own patched release instead of forcing a v1 consumer up four majors:
On trusting
1.1.17: GitHub's advisory carries a single flat<= 5.0.7range that hasn't been split per line, so1.1.17still reads as affected there. It isn't — it's the v1 backport: juliangruber/brace-expansion#129, basev1, merged2026-07-29T10:43Z, with1.1.17published10:45Z. Rather than take the version number's word for it I checked the shipped source — both1.1.17and5.0.8carryEXPANSION_MAX_LENGTH = 4_000_000with the CVE-2026-14257 citation in the comment.Both versions are genuinely in the tree:
1.1.17via minimatch 3.x chains,5.0.8via[email protected]←@typescript-eslint/typescript-estree.2. vite — dead range after #365
"vite@>=7.0.0 <=7.3.4": "7.3.5"matches nothing now; the lockfile resolves only[email protected]. Retargeted to the 8.x line as a forward guard against transitive drift:Audited and left alone
Re-checked against current advisories; each is at or above its first-patched version, and every version present in the tree is covered:
esbuild0.28.1 ·fast-uri3.1.4 ·postcss8.5.18 ·ws8.21.0 ·js-yaml4.3.0 ·sharp0.35.3 ·@babel/core7.29.7One note for later, deliberately not changed here: js-yaml has a 5.x advisory line (
>= 5.0.0, <= 5.2.1, patched 5.2.2) thatjs-yaml@<4.3.0would not cover. No 5.x is in the tree, so adding a guard now would be speculative — and speculative guards are exactly what goes stale unnoticed.Verification
lint,format:check,tsc --noEmit,test:registry,test:int(32 files / 379 tests) all green locally.pnpm-lock.yamlchurn is 32 lines, entirely the two brace-expansion version nodes and their integrity hashes.Heads-up unrelated to this PR
#365's
@playwright/test1.62.0 bump means local checkouts needpnpm exec playwright installbeforetest:intwill pass —blog-visual-system.int.spec.tslaunches chromium directly and 18 tests fail withExecutable doesn't exist ... chromium_headless_shell-1234until you do. Confirmed pre-existing on a cleandevwith this PR's changes stashed, so it's not from this change. CI installs browsers in setup and is unaffected.