Medium severity6.5NVD Advisory· Published Dec 18, 2023· Updated May 12, 2026
CVE-2023-51385
CVE-2023-51385
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 products
1- OpenSSH/OpenSSHdescription
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
16- github.com/openssh/openssh-portable/commit/7ef3787c84b6b524501211b11a26c742f829af1anvdPatch
- www.openwall.com/lists/oss-security/2023/12/26/4nvdMailing ListThird Party Advisory
- lists.debian.org/debian-lts-announce/2023/12/msg00017.htmlnvdMailing ListThird Party Advisory
- security.gentoo.org/glsa/202312-17nvdThird Party Advisory
- vin01.github.io/piptagole/ssh/security/openssh/libssh/remote-code-execution/2023/12/20/openssh-proxycommand-libssh-rce.htmlnvdThird Party Advisory
- www.debian.org/security/2023/dsa-5586nvdThird Party Advisory
- www.openssh.com/txt/release-9.6nvdRelease Notes
- www.openwall.com/lists/oss-security/2023/12/18/2nvdMailing ListRelease Notes
- seclists.org/fulldisclosure/2024/Mar/21nvd
- www.openwall.com/lists/oss-security/2025/10/07/1nvd
- www.openwall.com/lists/oss-security/2025/10/12/1nvd
- cert-portal.siemens.com/productcert/html/ssa-082556.htmlnvd
- cert-portal.siemens.com/productcert/html/ssa-769027.htmlnvd
- cert-portal.siemens.com/productcert/html/ssa-794697.htmlnvd
- security.netapp.com/advisory/ntap-20240105-0005/nvd
- support.apple.com/kb/HT214084nvd
News mentions
0No linked articles in our index yet.