Skip to content

fix(docker): bump Bun to 1.4.4 for Node2Shell (CVE-2026-111497) - #27

Merged
anthonybaldwin merged 1 commit into
mainfrom
fix/bun-1.4.4-node2shell
Oct 24, 2026
Merged

anthonybaldwin merged 1 commit into
mainfrom
fix/bun-1.4.4-node2shell

Conversation

@anthonybaldwin

Copy link
Copy Markdown
Owner

Why

squawk runs on oven/bun:1.4.0-alpine. Bun versions before 1.4.4 bundle brotli v1.2.0, whose decoder has Node2Shell (CVE-2026-111497), a memory-safety bug that can lead to remote code execution when attacker-controlled Brotli data is decompressed.

squawk polls third-party status pages (Statuspage.io and incident.io) over fetch, which decompresses Content-Encoding: br responses automatically. A malicious or compromised status page could therefore reach the vulnerable decoder.

Change

  • Dockerfile: oven/bun:1.4.0-alpine → oven/bun:1.4.4-alpine (the tag publishes both amd64 and arm64).

Bun 1.4.4 updates brotli to v1.2.1, which includes the decoder fix (oven-sh/bun#46392).

This supersedes Dependabot's #26, which only goes to 1.4.3, a version that is still vulnerable.

Verification

  • bun test on oven/bun:1.4.4-alpine: 29 pass, 0 fail.
  • The image builds locally, and bun --version inside it reports 1.4.4.

🤖 Generated with Claude Code

https://claude.ai/code/session_01RteDNpbqk9fGp8ZqFsHH6b

Bun 1.4.4 updates its bundled brotli from v1.2.0 to v1.2.1, which
fixes the Node2Shell decoder RCE (CVE-2026-111497) reachable through
node:zlib, DecompressionStream and compressed fetch responses
(oven-sh/bun#46392). Bun 1.4.3 and earlier remain affected.

squawk polls third-party status pages over fetch, so a malicious or
compromised status page could serve a crafted Brotli response.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RteDNpbqk9fGp8ZqFsHH6b
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-10-24T02:22:26.635207Z cd28d04 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@anthonybaldwin
anthonybaldwin merged commit a800e9c into main Oct 24, 2026
@anthonybaldwin
anthonybaldwin deleted the fix/bun-1.4.4-node2shell branch October 24, 2026 02:20
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