AsyncSSHのSFTPサーバーでchroot制限を回避される脆弱性
概要
認証済みのSFTPユーザーが、パスの指定によって chroot による隔離を抜け出し、サーバーを実行しているアカウントの権限でファイルを読み書きできる脆弱性です。悪用されると、書き込み先によってはコードが実行される可能性もあります。2.24.1より前のAsyncSSHが影響を受け、修正版は2.24.1です。CVSSは8.8で、急いで修正版への更新を進めてください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
認証済みのSFTPユーザーが、パスの指定によって chroot による隔離を抜け出し、サーバーを実行しているアカウントの権限でファイルを読み書きできる脆弱性です。悪用されると、書き込み先によってはコードが実行される可能性もあります。2.24.1より前のAsyncSSHが影響を受け、修正版は2.24.1です。CVSSは8.8で、急いで修正版への更新を進めてください。
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- Ubuntu UBUNTU-CVE-2026-102643 python-asyncssh この記録に修正版の記載なし
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
AsyncSSH is a Python package which provides an asynchronous client and server implementation of the SSHv2 protocol on top of the Python asyncio framework. Prior to 2.24.1, SFTPServer.map_path() uses posixpath.normpath() on a client-supplied path and removes only one leading slash before passing the result to posixpath.join() with the configured chroot. An authenticated SFTP user can supply a path beginning with exactly two slash characters, causing POSIX normalization to preserve the double-leading-slash form and the subsequent join to treat the remaining pathname as absolute. This bypasses the SFTP chroot and permits reads and writes with the operating-system permissions of the account running the server, which may enable code execution depending on writable targets. This issue is fixed in version 2.24.1.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- web github.com