RATATOSK
← リリース一覧

CRI-Ov1.35.12

セキュリティ 1破壊的変更 2重大な修正 2その他の変更 3

CRI-Oの通知を受け取る

週次メールは確認すべき変更がある週だけ、深刻度がcriticalのセキュリティアドバイザリは即時に届きます。

セキュリティ1high1

リンクされたログボリュームへの書き込み脆弱性の修正

high
影響対象リリースノートに記載なし

コンテナから CRI-O または conmon にログディレクトリー外のホストファイルを書き込ませることができ、ホスト側の整合性が損なわれるほか、対象ファイルが後で実行された場合には root 権限でコマンドを実行される可能性がありました。修正後、kubelet の subPath による bind エイリアス経由も含め、コンテナからリンクされたログボリュームは読み取り専用として見えます。一方、CRI-O はホスト側から引き続き書き込めます。ログ収集ツールはオフセットとバッファーを別の場所に保持する必要があります。

原文を表示
セキュリティアドバイザリ
When a container uses the opt-in `link-logs.crio.io` annotation, CRI-O exposes the pod's log directory through a pod-owned emptyDir and intends that view to be read-only. That isolation was not effective, so a container could alter host-side log state that CRI-O and conmon depend on. This gave the container a way to influence writes made by a privileged component against host files outside its own log directory, crossing the container-to-host integrity boundary; where such a file is later executed by the host, it can amount to command execution as root.
The flaw exists since the feature's introduction in 1.28.0 and is reachable only when the annotation is enabled for the runtime handler; deployments that do not enable it are unaffected. Exploitation depends on pre-existing host state and remains subject to mandatory access control (MAC) policy, which places the attack complexity at high.
The linked log volume is now mounted read-only in containers even when the container requests write access, including when the volume is reached through kubelet subPath bind aliases. The host-side view stays writable to CRI-O itself so that log linking and SELinux labeling keep working. Users should upgrade to one of:
This is a behaviour change: log collectors must keep writable state such as offsets and buffers in a separate volume.
- Do not enable `link-logs.crio.io` for any runtime handler. Deployments that leave it out of `allowed_annotations` are not reachable through a pod.
- Run the containers of affected pods as an unprivileged UID that cannot become uid 0 (`runAsNonRoot`, no `setuid` escalation, no user-namespace mapping to host root). Kubelet creates the pod and container log directories under `/var/log/pods` as root-owned and not writable by group or other (0755), so such a container cannot create entries in the linked tree. This is conditional hardening: pods whose containers run as root, whether requested or inherited from the image, remain exposed.
github.com/cri-o/cri-o/security/advisories/GHSA-pw8r-75cr-c993

破壊的変更2

CRI-O のビルドに必要な Go の最低バージョンを 1.26.10 に引き上げ

影響対象Go または静的ビルド用コンパイラーを使って CRI-O をビルドする環境(推定)

これまで Go モジュールでは Go 1.25.0 を宣言し、Nix の導出定義では Go 1.25 を使用していました。現在はどちらも Go 1.26.10 を使用します。

根拠“Update Go to 1.26.10 in `dependencies.yaml` and its existing references in `go.mod` and `nix/derivation.nix` so these builds use the patched toolchain.” cri-o/cri-o/pull/10493 ↗
原文を表示
 - CRI-O's minimum Go version and static-build compiler are now Go 1.26.10. (#10493, @bitoku)
github.com/cri-o/cri-o/releases/tag/v1.35.12

CRI-O のシャットダウン時のデッドロックを修正

影響対象CNI プラグインの準備完了チェックを行う CRI-O 環境(推定)

ノードのシャットダウン中、CNI の準備完了を待つ処理中の RPC がデッドロックを引き起こし、CRI-O が SIGTERM を無視することがありました。シャットダウン時は、まず CNI マネージャーを停止してから gRPC を正常に停止します。30 秒経過しても正常な停止が完了しない場合は、gRPC を強制停止します。また、CNI の準備完了待ちがコンテキストによってキャンセルされた場合は、エラーを返します。

原文を表示
 - Fixed a deadlock where CRI-O ignored SIGTERM when in-flight RPCs were blocked waiting for CNI readiness during node shutdown. The CNI manager is now shut down before the gRPC server stops, and a forced stop is scheduled as a fallback after 30 seconds. (#10545, @nispriha)
github.com/cri-o/cri-o/releases/tag/v1.35.12

重大な修正2

  • 実行中の exec プロセスがあるコンテナの停止時クラッシュの修正
    影響対象実行中の exec プロセスがあるコンテナ

    コンテナの停止時に exec プロセスの PID マップを使用する前に、CRI-O はその複製を作成するようになりました。

     - Fixed a possible CRI-O crash when stopping containers with active exec processes. (#10529, @openshift-cherrypick-robot)
    github.com/cri-o/cri-o/releases/tag/v1.35.12
  • systemd/init コンテナの SELinux ラベル既定値の復元
    影響対象SELinux を有効にした環境で systemd/init コンテナを実行している構成

    ストレージの既定値である container_t ラベルを使用すると、SELinux が有効なノード上の systemd Pod で、権限拒否により cgroup を作成できないことがありました。コンテナまたはサンドボックスに明示的に設定された seLinuxOptions.type は、引き続き優先されます。

     - Fix SELinux labeling so systemd/init containers receive container_init_t again instead of remaining container_t and failing to create cgroups. (#10509, @aksjadha)
    github.com/cri-o/cri-o/releases/tag/v1.35.12
その他の変更3

整理した内容は AI が作成するため誤っている可能性があり、無保証で提供されます。