CVE Catalog

CVE-2023-51385

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Very high risk
19.75%

97th percentile - higher than 97% of all known CVEs

Summary

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.

Risk Assessment

An attacker can remotely execute arbitrary system commands, leading to full system compromise.

Recommendation

Update OpenSSH to version 9.6 or later. Avoid using untrusted Git repositories with submodules containing suspicious names.

Other vulnerabilities in OpenSSH

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS