Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
AsyncSSH `AuthorizedKeysFile %u` path traversal allows attacker-selected authorized keys to authenticate a traversal username
Vulnerability 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.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
Ron Frederick AsyncSSH 路径遍历漏洞
Vulnerability Description
Ron Frederick AsyncSSH是Ron Frederick个人开发者的一款异步SSH协议库。 Ron Frederick AsyncSSH 2.23.0之前版本存在路径遍历漏洞,该漏洞源于在预认证服务器配置重载过程中扩展OpenSSH兼容的AuthorizedKeysFile %u令牌时未正确清理路径,允许包含路径遍历片段的SSH用户名读取预期目录之外的授权密钥文件并使用攻击者选择的密钥文件进行认证。
CVSS Information
N/A
Vulnerability Type
N/A