CVE-2023-51385

Aliases:ALPINE-CVE-2023-51385DEBIAN-CVE-2023-51385UBUNTU-CVE-2023-51385
Modified
Published: 18 Dec 2023, 00:00
Last modified:14 Jul 2026, 12:33

Vulnerability Summary

Overall Risk (default)
medium
30/100
CVSS Score
6.5 MEDIUM
v3.1 (cve.org)
EPSS Score
19.75% MEDIUM
20% probability +3.23%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

18 Dec 2023, 00:00
Published
Vulnerability first disclosed
14 Jul 2026, 12:33
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.1MEDIUMScore: 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

EPSS Trends

Current EPSS score: 19.75% Percentile: 97%

Techniques & Countermeasures

  • CWE-78Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

    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.

Affected Systems

  • alpineopenssh

    < 9.0_p1-r5 | < 9.1_p1-r5 | < 9.6_p1-r0 | < 9.6_p1-r0 | < 9.6_p1-r0 | < 9.6_p1-r0 | < 9.6_p1-r0 | < 9.6_p1-r0

  • debianopenssh

    < 1:8.4p1-5+deb11u3 | < 1:9.2p1-2+deb12u2 | < 1:9.6p1-1 | < 1:9.6p1-1

  • ubuntuopenssh

    all | < 1:7.2p2-4ubuntu2.10+esm6 | < 1:7.2p2-4ubuntu2.fips.2.10.6 | < 1:7.6p1-4ubuntu0.7+esm3 | < 1:7.9p1-10~ubuntu18.04.fips.0.9 | < 1:8.2p1-4ubuntu0.11 | < 1:8.2p1-4ubuntu0.fips.0.11 | < 1:8.9p1-3ubuntu0.6 | < 1:9.6p1-3ubuntu1

  • ubuntuopenssh-ssh1

    all | all | all | all | all | all

  • debiandebian_linux

    10.0 | 11.0 | 12.0

  • openbsdopenssh

    < 9.6

References (23)