Repository navigation
fix(security): patched ruby, node.js, ca-certificates and npm audit fixes (2026-10) - #1263
Merged
Merged
Conversation
Ruby 4.0.9 / 3.4.12 / 3.3.13 fix the Regexp CVEs published on 2026-10-23 (CVE-2026-89078, CVE-2026-93577, CVE-2026-97229, CVE-2026-110264). Node.js 24.22.1 and Debian 12 ca-certificates 20250419~deb12u2 drop the roots behind the compromised eMudhra intermediate CAs. - pin Node.js 24.22.1 in .nvmrc and every infra .node-version - pin Ruby 3.4.12 for mesh-v2 (CI and infra image) and 4.0.9 for the smalruby3 gem - bump ruby/setup-ruby to v1.335.0, the first release that knows the patched Rubies (the old pin resolved 3.3/3.4/4.0 to vulnerable ones) - fail Docker builds whose base image still carries the old ca-certificates, Node.js or Ruby Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Run npm audit fix --package-lock-only for the root workspace and every infra project. Only versions inside the existing semver ranges move; no package.json changes. - root: 11 critical / 51 high -> 7 critical / 31 high - infra (each project): 1 critical -> 0; the 4 remaining highs are bundled inside aws-cdk-lib and need a separate cdk upgrade Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…hten guards Review findings on the first round: - regenerate every lockfile with npm 11.19.1 (the npm bundled with Node.js 24.22.1 in CI) and --before 2026-10-27, so no version newer than 72 hours enters the tree; the audit counts are unchanged - docker guards: require Debian 12 for the ca-certificates check, fail on any Node.js major other than 24, and check Ruby per release series - refresh the stale ruby version note in .claude/rules/ruby/smalruby3.md Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ubuntu-latest moved to Ubuntu 26.04, where the playwright-chromium
postinstall fails ("Playwright does not support chromium on
ubuntu26.04-x64"). develop hid this behind the node_modules cache;
any change to .nvmrc or package-lock.json misses the cache and fails.
The smalruby3 gem jobs fail to compile on 26.04 as well (also on
develop), so keep them on 24.04 too. Drop the temporary npm ci
diagnostics.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
🚀 Preview deployed: https://smalruby.jp/smalruby3-editor/security/runtime-and-deps-2026-10/ |
Author
|
🔍 敵対的レビュー(round 1・独立したレビュアーによる): 指摘 14 件(Must 1 / Question 3 / FYI 10) Must
Question(人間の判断待ち)
FYI(対応)
CI で見つかった別の問題(対応済み)GitHub の
npm と gem のジョブを |
takaokouji
approved these changes
Oct 30, 2026
Author
Q1 / Q3 の確認結果Q1: rollup 4 と fork のプラグイン(不正なリリースではない)
Q3: eMudhra の中間 CA が影響するか(Lambda の外向き TLS)Node.js の
🤖 Generated with Claude Code |
github-actions Bot
pushed a commit
that referenced
this pull request
Oct 30, 2026
…time-and-deps-2026-10 fix(security): patched ruby, node.js, ca-certificates and npm audit fixes (2026-10)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
2026-10 のセキュリティ対応です。
20250419~deb12u2(DLA-4845-1)で修正。Changes Made
ランタイム・OS イメージ・CI(コミット 1)
.nvmrc、packages/scratch-media-lib-scripts/.nvmrc、infra/*/.node-version(6 つ)。CI はこれらを読む。.ruby-versionとinfra/Dockerfile)。.ruby-version)。ruby/setup-rubyを v1.335.0 に更新。3.3/3.4/4.0)が脆弱な版に解決されていた。Dockerfile、infra/Dockerfile、ruby/smalruby3/Dockerfile)node:24-bookworm-slim/ruby:3.3-slim-bookworm)。ruby/smalruby3/Dockerfileで ca-certificates を明示的に入れる(ベースイメージより新しい版に上がる)。npm 依存(コミット 2)
npm audit fix --package-lock-only --before 2026-10-27を、ルートと infra の 6 プロジェクトに実行。package.jsonは変えていない。node_modulesを書き換えないよう、lock ファイルだけを更新した。aws-cdk-libに同梱された依存で、CDK の更新が要る(security: remaining npm advisories that need major upgrades or replacements (2026-10) #1264)。CI のランナー(コミット 5)
ci-cd/test-packages/ gem 系(ci-ruby/release-gem/gem-build-checkの Linux)のジョブを、ubuntu-24.04に固定した。ubuntu-latestが 26.04 になり、2 つの問題が起きていたため。npm ciのplaywright-chromiumが「Playwright does not support chromium on ubuntu26.04-x64」で失敗する。develop ではキャッシュが当たって隠れていたが、lock か.nvmrcを変える PR はすべて落ちる。レビューで人間に判断してほしいこと
敵対的レビューの全指摘と対応は、PR のコメントにまとめた。
@trickfilm400/rollup-plugin-off-main-thread@3.0.0-pre1)が入る。react-intl-redux@2.4.1が peer 依存として自動で入る(害は無い)。対象外にしたもの(#1264 で判断)
skyway-js、query-string、decode-uri-component)、aws-cdk-libの更新。マージ後に人間がすること
20230311+deb12u1、Node.js 24.18.0 で、どちらも修正前。--pull --no-cacheで作り直す。Test Coverage
20230311+deb12u1)と古い Node(24.18.0)で止まる。🤖 Generated with Claude Code