Skip to content

fix: pin patched Node for development and CI - #23

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

sybohy merged 4 commits into
mainfrom
fix/node-brotli-security-20261024

Conversation

@sybohy

@sybohy sybohy commented Oct 24, 2026 •

Copy link
Copy Markdown
Member

Pin shared CI/package-build tooling to 24.22.1, the existing 22/24 CI matrix to 22.23.4 / 24.22.1, and add .nvmrc for the patched default. Raise only the developer runtime range to the patched minima for CVE-2026-111497; consumer engines.node >=22.12.0 is unchanged.

The devcontainer uses Microsoft’s maintained Bookworm image and copies Node 24.22.1 from a digest-pinned official image into the system path and every inherited nvm binary. This replaces vulnerable inherited binaries as well as the default shell runtime.

Validation: npm ci passed on SHA256-verified Node 24.22.1 without lockfile changes. Build, typecheck and the test passed locally. CI and the Vercel preview passed on the final commit, including install/test/lint/typecheck matrices on both patched majors. The corrected complete devcontainer built and reports v24.22.1 from login-shell PATH, direct /usr/local/bin/node, and nvm after sourcing its initialization script. All CI checks passed again on the final inherited-binary correction. No package publishing is performed by this task.

Rollout handoff: rebuild development containers, use the new local selector, and let subsequent CI jobs install the patched binary. Verify hosted examples/docs and downstream Node servers separately. A tooling update does not patch consuming servers or require a browser bundle/CDN release. Vercel manages patches for supported majors; verify the effective runtime/provider rollout. No merge, release, provider setting change or production deployment was performed.

Required checks use stable major labels (v22 / v24). The matrix keeps those labels and separately selects exact patched matrix.node_version binaries, so future patch updates do not rename protected checks. The prior patch-number labels passed CI but could not satisfy the existing protection; this workflow-only correction passed all CI checks and the Vercel preview. No branch protection/settings were changed.

@vercel

vercel Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
react-query Ready Ready Preview Oct 24, 2026 5:06am UTC

Request Review

@sybohy
sybohy marked this pull request as ready for review October 24, 2026 04:52
@sybohy
sybohy requested a review from razor-x as a code owner October 24, 2026 04:52
@sybohy
sybohy merged commit e1928bb into main Oct 24, 2026
14 checks passed
@sybohy
sybohy deleted the fix/node-brotli-security-20261024 branch October 24, 2026 06:29

This branch was successfully deployed

1 active deployment
Preview — 41a1c2af 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