Repository navigation
chore: always use the latest Bun in CI and mise - #348
Merged
Merged
Conversation
Bun 1.3.11 bundles Brotli v1.1.0, which is affected by CVE-2026-111497. Tracking the latest Bun picks up Brotli v1.2.1 (Bun >= 1.4.4) for the compiled release binaries. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merge risk
Note
Low - can be merged without reading the diff. Lint, typecheck, tests and the release binary build were run on the Bun version
latestcurrently resolves to (1.4.4), and a revert restores the 1.3.11 pin.Summary
latestinstead of a fixed version.Problem
The release binaries are produced by
bun build --compile(scripts/build-binaries.ts), so they embed the Brotli library Bun ships with. Bun 1.3.11 pins Brotliv1.1.0(BuildBrotli.cmake @ af24e281e); Bun 1.4.4 pinsdb24a98= Brotliv1.2.1(brotli.ts @ bun-v1.4.4). ccmanager never decodes Brotli data, so the bug is not reachable through it; this only removes the vulnerable library from the shipped binaries.Tracking
latestrather than pinning 1.4.4 is intentional: future Bun releases are picked up without a manual bump, at the cost of a new Bun version being able to change CI or release builds without a change in this repo.Verification
Ran locally on Bun
1.4.4+38afee6c8(installed through mise from the updated.mise.toml).bun install --frozen-lockfile→no changes.bun run lintandbun run typecheck→ no errors.bun run build:binary:native→Build complete: 1 succeeded, 0 failed.bun run test→139 passed | 2 skipped (141).*.submodule.testfiles fails inbeforeAllwithcould not lock config file ~/.gitconfig: File exists: these files rungit config --globalin parallel. Vitest runs under Node, so this is independent of the Bun version and is not changed here.After merge
npm-publishrun log showsbun-version: latestresolving to ≥ 1.4.4.🤖 Generated with Claude Code