CyberRota Analysis
AI-GeneratedThe AsyncSSH Python package prior to version 2.23.0 is vulnerable to a path traversal attack that allows an attacker to exploit the `%u` token in the AuthorizedKeysFile configuration, potentially accessing unauthorized SSH key files during pre-authentication. This vulnerability can lead to unauthorized access to the server, making it critical for organizations using AsyncSSH to upgrade to version 2.23.0 or later immediately. System administrators and security teams managing SSH implementations should prioritize this update to mitigate the risk of exploitation.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
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.23.0, AsyncSSH expands the OpenSSH-compatible AuthorizedKeysFile %u token in asyncssh/config.py, asyncssh/connection.py, asyncssh/auth_keys.py, and asyncssh/misc.py with the raw SSH username during pre-authentication server config reload, allowing a server configured with AuthorizedKeysFile authorized_keys/%u to read an authorized-keys file outside the intended directory when the SSH username contains /, \, or .. path traversal segments and authenticate with an attacker-selected key file. This issue is fixed in version 2.23.0.
Related CVEs
Other vulnerabilities affecting the same vendor(s)