Technical impact
AsyncSSH versions 2.20.0 through 2.24.1 contain an information disclosure flaw in the configuration token expansion logic. The library expands ${NAME} placeholders inside host or user names without sanitizing input, allowing attackers who control the host or user parameters to cause environment variables such as credentials to be injected into connection options like ProxyCommand. This vulnerability is an instance of improper handling of user-supplied data that leaks sensitive information, classified as CWE‑497.
Affected Systems
Vendors affected are those using the AsyncSSH library released by ronf under the AsyncSSH project. The flaw exists in all releases from version 2.20.0 up to and including 2.24.1; versions 2.24.2 and later contain a fix.
Risk and Exploitability
The CVSS base score of 2.3 indicates a low severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting a low likelihood of widespread exploitation. Attackers would need to provide unvalidated host or user names to the connect() function; based on the description, the likely attack vector is local or remote code execution of the client application, though it does not grant code execution, only privilege to read environment data leaked into configuration strings.