What’s Vulnerable › Vulnerabilities

CVE-2023-51385

Description

In ssh in OpenSSH before 9.6, OS command injection 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.

Affected products

How to fix

Upgrade to a fixed version: OpenSSH 9.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-51385 or the next vulnerability affects your stack