Affected versions
- Affected versions
- * || =1.2.0-1 || =1.2.1-1 || =1.3.0-1
- Fixed version
- Not reported
- Affected versions
- * || =1.12.2-1 || =1.12.2-1ubuntu0.1 || =1.12.2-1ubuntu0.2
- Fixed version
- Not reported
- Affected versions
- * || =2.20.0-1 || =2.21.1-1
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- * || =2.10.1-2 || =2.10.1-2ubuntu0.1 || =2.10.1-2ubuntu0.1+esm1
- Fixed version
- Not reported
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.

