Skip to content
This repository was archived by the owner on Oct 29, 2026. It is now read-only.

Move CLI to Node 22.23.4 (VUL-5495) - #16

Open
lingcong-k wants to merge 1 commit into
mainfrom
vul-5495-node-22.23.4
Open

lingcong-k wants to merge 1 commit into
mainfrom
vul-5495-node-22.23.4

Conversation

@lingcong-k

Copy link
Copy Markdown

VUL incident here

Node 16 is end of life. 22.23.4 is the patched release on the 22 line, and it also removes the compromised eMudhra CAs from Node's bundled trust store.

The CLI ships as a pkg binary with its own Node, so the binary has to change, not just the dev pins:

  • vercel/pkg is archived and can't build anything newer than Node 18. Switch to @yao-pkg/pkg in SEA mode, which packages the stock Node binary from nodejs.org matching the build host (22.23.4) instead of a patched pkg-fetch build.
  • canvas 2.11.2 doesn't build on Node 22; upgrade to canvas 3.
  • CI builds with the local @yao-pkg/pkg via npm run build instead of a global vercel/pkg install.
  • Bump .tool-versions, engines, CircleCI and README to 22.23.4.

Node 16 is end of life. 22.23.4 is the patched release on the 22 line,
and it also removes the compromised eMudhra CAs from Node's bundled
trust store.

The CLI ships as a pkg binary with its own Node, so the binary has to
change, not just the dev pins:
- vercel/pkg is archived and can't build anything newer than Node 18.
  Switch to @yao-pkg/pkg in SEA mode, which packages the stock Node
  binary from nodejs.org matching the build host (22.23.4) instead of a
  patched pkg-fetch build.
- canvas 2.11.2 doesn't build on Node 22; upgrade to canvas 3.
- CI builds with the local @yao-pkg/pkg via npm run build instead of a
  global vercel/pkg install.
- Bump .tool-versions, engines, CircleCI and README to 22.23.4.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@lingcong-k lingcong-k self-assigned this Oct 22, 2026
@lingcong-k
lingcong-k requested a review from AlvesJorge October 22, 2026 15:36
@lingcong-k lingcong-k added the 🚨 security Security update or fix label Oct 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

🚨 security Security update or fix

Development

Successfully merging this pull request may close these issues.

1 participant