All vulnerabilities

Servers and applications

CVE-2023-51385

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.

Severity
Medium 6.5
Published
18 Dec 2023
Last changed
15 Oct 2026
Added to UpHeron
21 Oct 2026
Fixed in
9.6
Sources
NVD

Affected software

SoftwareAffected versions
OpenSSHServers and applications · cpe:a:openbsd:openssh
  • Every version before 9.6

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2023-51385
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2023-51385