CVE
CVE-2023-51385
CVE-2023-51385MED 6.5EPSS 97%
CNA 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.
Affected versions
- < 9.6Fixed in 9.6
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- lists.debian.org/debian-lts-announce/2023/12/msg00017.html · Third Party Advisory
- www.debian.org/security/2023/dsa-5586 · Third Party Advisory
- www.openssh.com/txt/release-9.6 · Release Notes
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.