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)

Published · last modified .

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.

EPSS exploit prediction

EPSS: 0.198 (97.3th percentile), scored .

Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 97th percentile — 97.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2023-51385: held from 0.198 to 0.198.

EPSS over last 30 days · oldest: 0.198 · newest: 0.198 · change: 0.000

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.