RCE in Openbsd Openssh

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.

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.198 (97.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2023-51385?
CVE-2023-51385 is a medium-severity vulnerability in Openbsd Openssh, classified under OS Command Injection. CVSS score: 6.5/10. Published 2023-12-18.
How severe is CVE-2023-51385?
Medium severity. CVSS v3 base score is 6.5 out of 10.
Is CVE-2023-51385 known to be exploited?
80 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.