AsyncSSHの脆弱性、ホストベース認証で別ホストになりすまし可能
Summary
AsyncSSH 1.13.1以降2.24.2より前で、ホストベース認証の信頼済みホスト鍵が1つの接続内で蓄積される脆弱性が見つかりました。trust_client_hostが有効な環境で、既知のクライアントホストの秘密鍵を持つ攻撃者が別の既知ホストを名乗ると、そのホストからのみ許可されたユーザーでログインされるおそれがあります。修正版の2.24.2にアップデートしてください。CVSS v3.1は5.9、v4.0は7.4です。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
AsyncSSH 1.13.1以降2.24.2より前で、ホストベース認証の信頼済みホスト鍵が1つの接続内で蓄積される脆弱性が見つかりました。trust_client_hostが有効な環境で、既知のクライアントホストの秘密鍵を持つ攻撃者が別の既知ホストを名乗ると、そのホストからのみ許可されたユーザーでログインされるおそれがあります。修正版の2.24.2にアップデートしてください。CVSS v3.1は5.9、v4.0は7.4です。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| ronfAsyncSSH |
≥ 1.13.1, < 2.24.2→ 2.24.2 |
2.24.2 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-138376 python-asyncssh No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-138376 python-asyncssh No fixed version in this record
Original description The description as published by the source.
AsyncSSH 1.13.1 before 2.24.2 contains an improper authentication vulnerability in SSHConnection._match_known_hosts that accumulates trusted client host keys across host-based authentication attempts on one connection. With trust_client_host enabled, attackers holding one known client host's private key can retry naming another known host and log in as users authorized only from that host.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- web github.com
- web github.com