CVE-2023-51385

MEDIUMCVSS 6.5/10EPSS 19.75%

Last modified

CVE-2023-51385 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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.. EPSS estimates a 19.75% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
6.5/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

EPSS Probability
19.75%

97.1th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
OpenbsdOpenssh< 9.6
DebianDebian Linux10.0
DebianDebian Linux11.0
DebianDebian Linux12.0

References

Timeline

Published
Last Modified
Status
Modified

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 score of 6.5/10 (MEDIUM severity). The EPSS model estimates a 19.75% probability of exploitation in the next 30 days.
How do I fix CVE-2023-51385?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2023-51385?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST