I
n 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.
References
Configurations
History
04 Nov 2025, 22:15
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
21 Nov 2024, 08:37
| Type | Values Removed | Values Added |
|---|---|---|
| References | () http://seclists.org/fulldisclosure/2024/Mar/21 - | |
| References | () http://www.openwall.com/lists/oss-security/2023/12/26/4 - Mailing List, Third Party Advisory | |
| References | () https://github.com/openssh/openssh-portable/commit/7ef3787c84b6b524501211b11a26c742f829af1a - Patch | |
| References | () https://lists.debian.org/debian-lts-announce/2023/12/msg00017.html - Mailing List, Third Party Advisory | |
| References | () https://security.gentoo.org/glsa/202312-17 - Third Party Advisory | |
| References | () https://security.netapp.com/advisory/ntap-20240105-0005/ - | |
| References | () https://support.apple.com/kb/HT214084 - | |
| References | () https://vin01.github.io/piptagole/ssh/security/openssh/libssh/remote-code-execution/2023/12/20/openssh-proxycommand-libssh-rce.html - Third Party Advisory | |
| References | () https://www.debian.org/security/2023/dsa-5586 - Third Party Advisory | |
| References | () https://www.openssh.com/txt/release-9.6 - Release Notes | |
| References | () https://www.openwall.com/lists/oss-security/2023/12/18/2 - Mailing List, Release Notes |
Information
Published : 2023-12-18 19:15
Updated : 2025-12-18 15:15
NVD link : CVE-2023-51385
Mitre link : CVE-2023-51385
CVE.ORG link : CVE-2023-51385
JSON object : View
Products Affected
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')