🔍 CVE-2026-62949

6.5
CVSS Score
MEDIUM
2026-09-16
2026-09-30 17:43
✅ 완료

🇰🇷 한글 설명

AsyncSSH 2.24.0 미만 버전에서 _process_channel_open 및 _process_channel_open_confirmation 함수가 0의 send_pktsize 값을 허용하여 무한 루프가 발생하는 취약점이 발견되었습니다. 악의적인 서버가 클라이언트를 공격하거나 인증된 클라이언트가 서버를 공격하여 프로세스를 완전히 중단시킬 수 있습니다.

💡 쉬운 설명

데이터 전송 크기를 0으로 설정하여 프로그램이 아무것도 하지 못한 채 무한히 반복 작업에 빠지게 만드는 오류입니다. 이로 인해 프로그램이 멈추거나 서비스가 마비될 수 있습니다.

🇺🇸 원문 (English)

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.0, _process_channel_open and _process_channel_open_confirmation in asyncssh/connection.py accept a peer-supplied send_pktsize value of zero. When channel data reaches SSHChannel._flush_send_buf in asyncssh/channel.py, the zero value causes each loop iteration to slice and remove zero bytes without reducing the send window, leaving the synchronous loop permanently true with no await point. A malicious SSH server can trigger the client path through SSH_MSG_CHANNEL_OPEN_CONFIRMATION before the first channel write, while an authenticated client can trigger the server path through SSH_MSG_CHANNEL_OPEN and freeze every current and future connection handled by the process. This vulnerability is fixed in 2.24.0.

📍 영향받는 시스템

AsyncSSH 2.24.0 미만 버전

⚔️ 공격 벡터

악의적인 SSH 서버를 통한 클라이언트 공격 또는 인증된 사용자를 통한 서버 프로세스 중단

🛡️ 대응 방법

AsyncSSH를 2.24.0 이상의 최신 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 버전 번호가 2.24.0보다 낮으면 취약한 상태입니다.

Shell / Script
pip show asyncssh | grep Version

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

💻 영향받는 소프트웨어

Python