CVE-2023-51385

Medium

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.

SeverityMedium
CVSS6.5
Exploit probability—
ProductOpenbsd Openssh
PublishedDec 18, 2023
First seenDec 18, 2023

How to fix

Update
  • openbsd openssh9.6 or later

Affected products

ProductAffected versionsFixed in
openbsd opensshv < 9.69.6
debian debian_linux10.0, 11.0, 12.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.