Appsecure logo

CVE-2023-51385: Medium Vulnerability in OpenSSH

CVE-2023-51385 is a medium-severity vulnerability in OpenSSH versions prior to 9.6, allowing for potential OS command injection. Organizations should prioritize remediation to mitigate risks associated with this vulnerability.

MEDIUMPublic ExploitCVSS 6.5 · Published December 18, 2023

Not a customer? See how AppSecure simulates real world attacks to protect your infrastructure.

Speak to Experts

CVE-2023-51385 is a medium-severity vulnerability affecting OpenSSH versions before 9.6. This vulnerability allows for OS command injection when a user name or host name contains shell metacharacters. This can occur if the name is referenced by an expansion token, particularly in scenarios involving untrusted Git repositories that may have submodules with shell metacharacters. The CVSS score of 6.5 indicates that this vulnerability poses a significant risk to organizations utilizing affected versions.

Organizations should prioritize patching immediately to prevent potential exploitation. The vulnerability was published on December 18, 2023, and has been categorized under CWE-78, which relates to improper neutralization of special elements used in an OS command ('OS Command Injection'). The urgency for defenders is heightened due to the low complexity of the attack and lack of required privileges or user interaction.

As of now, there is no confirmed public exploit, but the vulnerability's nature could lead to severe consequences if leveraged by attackers. Organizations using affected versions of OpenSSH should take immediate action to mitigate risks.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Latest CVEs. Recently published vulnerabilities from the NVD database.

View all vulnerabilities
CVE IDSeverity
CVE-2025-65418HIGH
CVE-2025-65417MEDIUM
CVE-2025-65416MEDIUM
CVE-2025-65415MEDIUM
CVE-2025-61314HIGH

Protect Your Business with Hacker-Focused Approach.