OS Command Injection Affecting openssh-server package, versions <0:8.0p1-19.el8_9.2


Severity

Recommended
0.0
medium
0
10

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.34% (72nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about OS Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALMALINUX8-OPENSSHSERVER-6219844
  • published31 Jan 2024
  • disclosed5 Mar 2024

Introduced: 31 Jan 2024

CVE-2023-51385  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 openssh-server to version 0:8.0p1-19.el8_9.2 or higher.
This issue was patched in ALSA-2024:0606.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openssh-server package and not the openssh-server package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

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 Scores

version 3.1