
AsyncSSH 2.24.2 Patch Fixes Environment Variable Disclosure in Config Parsing
A low-severity vulnerability in the Python SSH library AsyncSSH, affecting versions 2.20.0 through 2.24.1, has been patched in version 2.24.2. The flaw allowed attackers to leak process environment variables, such as credentials, by manipulating host or user names in SSH configuration files. The issue stems from improper handling of token expansion in the SSHConfig class, where environment variable references were expanded after token substitution, potentially exposing sensitive data to ProxyCommand arguments.