Skip to content

chore(security): patch devcontainer Node and refresh CI binaries - #1045

Merged
sybohy merged 2 commits into
mainfrom
fix/devcontainer-node-brotli-20261024
Oct 24, 2026
Merged

sybohy merged 2 commits into
mainfrom
fix/devcontainer-node-brotli-20261024

Conversation

@sybohy

@sybohy sybohy commented Oct 24, 2026 •

Copy link
Copy Markdown
Member

Replace the inherited vulnerable Node 24 binary in the developer container with 24.22.1 for CVE-2026-111497. The existing Node 24 major is preserved. The maintained Microsoft Bookworm base still embeds an older patch, so the Dockerfile copies the actual binary from a digest-pinned official Node image into /usr/local/bin/node and every inherited nvm installation. The build variant is updated to the maintained 24-bookworm tag.

Validation: the complete devcontainer built successfully. A fresh container directly reports v24.22.1 from login-shell PATH, /usr/local/bin/node, and nvm after its initialization script is sourced. Package validation used the SHA256-verified Node 24.22.1 runtime:

  • npm ci: passed
  • npm run typecheck: passed
  • npm run build: passed
  • npm test -- --concurrency=2: passed

CI keeps its supported-major coverage and stable protected job labels, and now sets check-latest: true on every floating setup-node invocation (shared action and direct package-install jobs). This resolves the latest patch before choosing a hosted cached binary. Consumer engine declarations, dependencies and lockfiles remain unchanged. Rebuild developer containers after merge; a cached old image is not remediated by the source edit. This development-image change does not require an npm/CDN release or replace downstream server runtimes. No release, provider setting change, merge or deployment was performed.

The final cache-resolution Check run passed. Its actual setup logs report v22.23.4, v24.22.1. All PR checks are green.

Resolver behavior: official setup-node documentation.

@sybohy
sybohy marked this pull request as ready for review October 24, 2026 05:10
@sybohy
sybohy requested a review from a team as a code owner October 24, 2026 05:10
@sybohy sybohy changed the title chore(security): patch inherited Node 24 devcontainer binaries chore(security): patch devcontainer Node and refresh CI binaries Oct 24, 2026
@sybohy
sybohy merged commit 9f325ff into main Oct 24, 2026
16 checks passed
@sybohy
sybohy deleted the fix/devcontainer-node-brotli-20261024 branch October 24, 2026 06:29

This branch was successfully deployed

1 active deployment
Preview — 63e9db6b Deployed Oct 24, 2026 by vercel[bot]
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