PT-2023-7884 · Openssh+11 · Openssh+11
Fabian Bäumer
+2
·
Published
2023-12-18
·
Updated
2026-05-12
·
CVE-2023-51385
CVSS v3.1
6.5
Medium
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
OpenSSH versions prior to 9.6
Description
The issue is related to OS command injection in OpenSSH, which 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. The estimated number of potentially affected devices worldwide is around 116,742,290, mainly distributed in the United States, China, and other countries.
Recommendations
Update to OpenSSH 9.6p1 to resolve the issue.
As a temporary workaround, consider disabling the use of ProxyCommand until a patch is available.
Restrict access to the vulnerable module to minimize the risk of exploitation.
Avoid using the
ProxyCommand directive in the OpenSSH configuration until the issue is resolved.Exploit
Fix
OS Command Injection
Special Elements Injection
Improper Neutralization
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Centos
Ibm Aix
Linuxmint
Apple Macos
Openssh
Red Hat
Red Os
Suse
Ubuntu