Skip to content

chore: bump node to v24.22.1 (43-x-y) - #55161

Merged
VerteDinde merged 4 commits into
43-x-yfrom
roller/node/43-x-y
Oct 22, 2026
Merged

VerteDinde merged 4 commits into
43-x-yfrom
roller/node/43-x-y

Conversation

@electron-roller

Copy link
Copy Markdown
Contributor

Updating Node.js to v24.22.1.

See all changes in v24.22.0..v24.22.1

Notes: Updated Node.js to v24.22.1.

Node.js v24.22.1 includes the upstream version of Electron's SPKI
blocklist patch, so tls_reject_chains_containing_blocked_public_keys.patch
no longer applies. Replace it with a smaller patch on top of the upstream
implementation that keeps the NODE_EXTERN test hooks used by Electron's
testing binding (spec/cert-revocation.spec.ts) and makes the new
CheckSPKIs() loop use OPENSSL_SIZE_T, since BoringSSL's sk_X509_num()
returns size_t.

Ref: nodejs/node#66871

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_011amPfqBgESJFaWVNQhad62
@claude
claude Bot requested a review from a team as a code owner October 22, 2026 02:22

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reviewed this Node roll and didn't find any bugs. It swaps Electron's own TLS public-key blocklist patch for a thinner adapter on top of the upstream one, so a human should still check the TLS behaviour.

What was reviewed (from a standalone clone, so I couldn't see the upstream Node source):

  • tls_adapt_the_upstream_spki_blocklist_for_electron.patch: it has a proper explanatory body and is added to .patches in place of the deleted tls_reject_chains_containing_blocked_public_keys.patch.
  • The new node::crypto::AddBlockedSPKIForTesting / ClearBlockedSPKIsForTesting declarations match how shell/common/api/electron_api_testing.cc:44-45,303-314 declares and calls them, and spec/cert-revocation.spec.ts still uses them.
  • The OPENSSL_SIZE_T loop index and static_cast<int> depth change in CheckSPKIs() match the patch's stated purpose (sk_X509_num() returns size_t under BoringSSL).
Extended reasoning...

This is a DEPS bump from Node v24.22.0 to v24.22.1. Most of the 13 patch files are just re-exported, but the Electron-carried TLS public-key blocklist patch is deleted and replaced by a smaller patch that depends on Node v24.22.1 now shipping the blocklist itself. That touches certificate-chain verification in src/crypto/crypto_context.cc, which is security-sensitive. This checkout is a standalone clone, so I couldn't confirm that the upstream blocklist covers everything the deleted patch did. CI runs spec/cert-revocation.spec.ts, but a human should still look before this merges.

@VerteDinde
VerteDinde enabled auto-merge (squash) October 22, 2026 02:31
The test added with Node v24.22.1 builds a startup snapshot via --build-snapshot, which Electron's binary does not support (same as the existing parallel/test-snapshot entries).

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_011amPfqBgESJFaWVNQhad62

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review found no issues

No high-confidence issues detected in this change.

@VerteDinde
VerteDinde merged commit 1b5cb16 into 43-x-y Oct 22, 2026
77 checks passed
@VerteDinde
VerteDinde deleted the roller/node/43-x-y branch October 22, 2026 04:00
@release-clerk

release-clerk Bot commented Oct 22, 2026

Copy link
Copy Markdown

Release Notes Persisted

Updated Node.js to v24.22.1.

shariqh added a commit to shariqh/agent-inbox that referenced this pull request Oct 28, 2026
Electron 43.8.4 updates its embedded Node.js to the v24.22.1 security
release (electron/electron#55161). The app and Setup's portable runtime now
run the same Node.

Electron 43.8.4 also fixes:
- a macOS File System Access blocklist bypass (electron/electron#54677);
- further blocklist gaps (electron/electron#55331);
- asar handling (electron/electron#55179, electron/electron#55185);
- tzdata, updated to 2026e (electron/electron#55336).

OpenSSL 3.5.9 reaches only Setup's runtime, because Electron's Node uses
BoringSSL.

- Every Electron pin moves from 43.8.3 to 43.8.4: package.json, the
  lockfile, the three release input profiles, the Windows pin constant, the
  linux-inputs hash in the AppImage and DEB contracts, tests and docs. ABI
  stays 148.
- The package's checksums.json matches the official SHASUMS256.txt (75/75),
  and #363 enforces it at build time. The binary, releases.json and
  Electron's DEPS all report Node 24.22.1 with ABI 148. src/api/hooks.cc is
  unchanged since Node 24.22.0, so the #135 fix still comes from upstream
  Node.
- Electron 43.8.4's Linux zips store most files as 0666 or 0777, and so do
  44.10.0's and 45.1.0's; the packager keeps stored modes. The Linux thin-app
  builder now clears group and other write on Electron's extracted files,
  never through a symlink. This restores 43.8.3's modes exactly.
- The AppImage's final verifier now refuses any regular file other than the
  sandbox that isn't 0644 or 0755. The DEB's verifier already did.

Follow-up: #378 (mode gates in the thin-folder verifiers).

Closes #371

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 9e7ec7a7-8690-49e5-9d55-492fedc3027a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-check-skip Skip trop's backport validity checking semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants