CVE-2023-51385

CVE-2023-51385 is a medium-severity vulnerability in Openbsd Openssh with a CVSS 3.x base score of 6.5. Its EPSS exploit-prediction score of 20% places it in the 97th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-78.

Key facts

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.

Frequently asked questions

What is 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.
How severe is CVE-2023-51385?
CVE-2023-51385 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability none.
Is CVE-2023-51385 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 20% (97th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2023-51385?
CVE-2023-51385 primarily affects Openbsd Openssh. In total, 4 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2023-51385?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2023-51385 published?
CVE-2023-51385 was published on 2023-12-18 and last updated on 2026-06-17.

References

Affected products (4)

More vulnerabilities in Openbsd Openssh

All CVEs affecting Openbsd Openssh →

Other CWE-78 (OS Command Injection) vulnerabilities

Browse all CWE-78 (OS Command Injection) vulnerabilities →

Threat intelligence

Threat-intel indicators referencing this CVE: