CVE-2018-7749: AsyncSSH SSH Server Authentication Bypass
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.6051%
CWE
Published
5/14/2022
Updated
9/4/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
AsyncSSH | pip | < 1.12.1 | 1.12.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing authentication state checks in the packet processing flow. The security fix in commit 16e6ebf adds a critical validation in _recv_packet() that rejects non-auth packets (types > MSG_USERAUTH_LAST) when auth_complete=False. The test case test_request_during_auth explicitly verifies this by attempting to send a global request during authentication. The vulnerable versions lacked this check, allowing packet processing to proceed before authentication completed.