OpenSSH 10.6p2 がリリースされました

2026/11/05, OpenSSH 10.6p2 がリリースされました.

musl libc を使用し PAM を無効にしている Linux システム (Alpine Linux など) に影響する, パスワード認証をバイパスできる致命的な脆弱性への回避策が含まれています.

Damien Miller さんの Bluesky の投稿 によると, 該当するシステムを運用している場合は, ただちに PasswordAuthentication=no を設定するか SSH を無効にするべきとのことです.

https://www.openssh.com/releasenotes.html#10.6p2

Changes since OpenSSH 10.6p1
============================

OpenSSH 10.6p1 からの変更点

This release contains a critical security workaround that affects
Linux systems that use the musl libc and PAM disabled.

このリリースには、musl libc を使用し PAM を無効にしている Linux システムに
影響する、致命的なセキュリティ問題への回避策が含まれている。

This release also includes a number of bugfixes that had already
been committed on the portable OpenSSH V_10_6 stable branch.

このリリースには、移植版 OpenSSH の V_10_6 安定版ブランチにすでに
コミットされていた多数のバグ修正も含まれている。

Security
========

セキュリティ

 * sshd(8): avoid password authentication bypass that is exploitable
   through sshd(8) that affects some Linux systems when built and run
   with PAM support disabled. We consider the root cause of this bug
   to be outside sshd, but it is exploitable via sshd and can be
   avoided there.

   sshd(8): PAM サポートを無効にしてビルド・実行した場合に一部の Linux
   システムに影響する、sshd(8) 経由で悪用可能なパスワード認証バイパスの
   脆弱性を回避する。我々はこのバグの根本原因は sshd の外部にあると考えているが、
   sshd 経由で悪用可能であり、sshd 側で回避できる。

   This bug was reported by Özgün Kültekin of Wakefield
   (wakefield.co)

   このバグは Wakefield (wakefield.co) の Özgün Kültekin により報告された。

Bugfixes
--------

バグ修正

 * sshd(8), ssh(1): enable the post-quantum hybris signature scheme
   ssh-mldsa44-ed25519 as an allowed CA signature algorithm.

   sshd(8), ssh(1): 耐量子ハイブリッド署名方式 ssh-mldsa44-ed25519 を、
   許可される CA 署名アルゴリズムとして有効にする。

 * ssh(1), sshd(8): fix <1 second CPU spin if ChannelTimeout was in
   use.

   ssh(1), sshd(8): ChannelTimeout を使用している場合に、CPU が 1 秒未満の
   間スピン (空回り) する問題を修正する。

Portability
-----------

移植性

 * sshd(8): fix compilation on (old) platforms that set SKIP_PRIVDROP

   sshd(8): SKIP_PRIVDROP を設定する (古い) プラットフォームで
   コンパイルできない問題を修正する。

 * ssh(1), sshd(8): fix detection of Azerbaijani locales

   ssh(1), sshd(8): アゼルバイジャン語ロケールの検出を修正する。

 * sshd(8), ssh-agent(1): fix creation of agent sockets on platforms
   without the openat(2) syscall.

   sshd(8), ssh-agent(1): openat(2) システムコールを持たない
   プラットフォームでエージェントソケットを作成できない問題を修正する。

 * ssh(1), ssh-add(1), ssh-keygen(1): fix some strange behaviour if
   SIGINT/SIGQUIT was received while reading a passphrase.

   ssh(1), ssh-add(1), ssh-keygen(1): パスフレーズの読み込み中に
   SIGINT/SIGQUIT を受信した場合の一部の想定外の動作を修正する。

 * sshd(8): allow restart_syscall(2) in seccomp sandbox; bz4036

   sshd(8): seccomp サンドボックスで restart_syscall(2) を許可する。 bz4036