Vulnerability Details : CVE-2023-51385
Potential exploit
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.
Products affected by CVE-2023-51385
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:*
- cpe:2.3:a:openbsd:openssh:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-51385
5.63%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 90 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-51385
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST | |
6.5
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
3.9
|
2.5
|
NIST | 2024-01-03 |
CWE ids for CVE-2023-51385
-
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.Assigned by: nvd@nist.gov (Primary)
References for CVE-2023-51385
-
http://www.openwall.com/lists/oss-security/2023/12/26/4
oss-security - CVE-2023-51385, CVE-2023-6004: OpenSSH, libssh: Security weakness in ProxyCommand handlingMailing List;Third Party Advisory
-
https://security.gentoo.org/glsa/202312-17
OpenSSH: Multiple Vulnerabilities (GLSA 202312-17) — Gentoo securityThird Party Advisory
-
https://security.netapp.com/advisory/ntap-20240105-0005/
January 2024 OpenSSH Vulnerabilities in NetApp Products | NetApp Product Security
-
https://vin01.github.io/piptagole/ssh/security/openssh/libssh/remote-code-execution/2023/12/20/openssh-proxycommand-libssh-rce.html
SSH ProxyCommand == unexpected code execution (CVE-2023-51385) | Vin01’s BlogThird Party Advisory
-
https://github.com/openssh/openssh-portable/commit/7ef3787c84b6b524501211b11a26c742f829af1a
upstream: ban user/hostnames with most shell metacharacters · openssh/openssh-portable@7ef3787 · GitHubPatch
-
http://seclists.org/fulldisclosure/2024/Mar/21
Full Disclosure: APPLE-SA-03-07-2024-2 macOS Sonoma 14.4
-
https://support.apple.com/kb/HT214084
About the security content of macOS Sonoma 14.4 - Apple Support
-
https://www.openwall.com/lists/oss-security/2023/12/18/2
oss-security - Announce: OpenSSH 9.6 releasedMailing List;Release Notes
-
https://www.debian.org/security/2023/dsa-5586
Debian -- Security Information -- DSA-5586-1 opensshThird Party Advisory
-
https://lists.debian.org/debian-lts-announce/2023/12/msg00017.html
[SECURITY] [DLA 3694-1] openssh security updateMailing List;Third Party Advisory
-
https://www.openssh.com/txt/release-9.6
Release Notes
Jump to