Openssh · Openssh · CVE-2023-51385
**Name of the Vulnerable Software and Affected Versions**
OpenSSH versions prior to 9.6
**Description**
The issue is related to OS command injection in OpenSSH, which might occur if a user name or host name has shell metacharacters and this name is referenced by an expansion token in certain situations. For example, an untrusted Git repository can have a submodule with shell metacharacters in a user name or host name. The estimated number of potentially affected devices worldwide is around 116,742,290, mainly distributed in the United States, China, and other countries.
**Recommendations**
Update to OpenSSH 9.6p1 to resolve the issue.
As a temporary workaround, consider disabling the use of ProxyCommand until a patch is available.
Restrict access to the vulnerable module to minimize the risk of exploitation.
Avoid using the `ProxyCommand` directive in the OpenSSH configuration until the issue is resolved.