Skip to content
pkgseek
Back to CVE search

CVE-2023-51385

medium · 6.5

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.

First indexed 12/18/2023View on NVD

Advisory Facts

Markdown

CVE-2023-51385 is rated MEDIUM (6.5), with 46 indexed affected package builds across 6 distributions.

Severity / Score
MEDIUM (6.5)
Affected builds
46
Affected distros
6
Distros with fixed_in
Alibaba Cloud Linux, AlmaLinux, openSUSE, Oracle Linux, Red Hat Enterprise Linux, Ubuntu
+ Embed this vulnerability status card

https://pkgseek.com/embed/security/CVE-2023-51385?locale=en

Distribution-aware status

6
Distributions
46
Package/release records
10
Vendor advisories
46
Fix versions available

Why the upstream version is not enough

Linux distributions often keep an upstream version and backport security patches into the distribution revision. PkgSeek therefore uses exact package versions and vendor advisories; a lower-looking upstream version alone does not prove that a package is vulnerable.

Affected packages

Newest affected build per package, repository source and distribution release.

46 affected package/release combinations
openssh-askpass-gnome
15.6aarch64, ppc64le, s390x, x86_64
9.6p1-150600.6.3.1Fixed in 9.6p1-150600.6.6.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo zypper update openssh-askpass-gnome
openssh-cavs
15.6aarch64, ppc64le, s390x, x86_64
9.6p1-150600.6.3.1Fixed in 9.6p1-150600.6.6.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo zypper update openssh-cavs
openssh-clients
15.6aarch64, ppc64le, s390x, x86_64
9.6p1-150600.6.3.1Fixed in 9.6p1-150600.6.6.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo zypper update openssh-clients
openssh-common
15.6aarch64, ppc64le, s390x, x86_64
9.6p1-150600.6.3.1Fixed in 9.6p1-150600.6.6.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo zypper update openssh-common
openssh-fips
15.6aarch64, ppc64le, s390x, x86_64
9.6p1-150600.6.3.1Fixed in 9.6p1-150600.6.6.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo zypper update openssh-fips
openssh-helpers
15.6aarch64, ppc64le, s390x, x86_64
9.6p1-150600.6.3.1Fixed in 9.6p1-150600.6.6.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo zypper update openssh-helpers
openssh-server
15.6aarch64, ppc64le, s390x, x86_64
9.6p1-150600.6.3.1Fixed in 9.6p1-150600.6.6.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo zypper update openssh-server
openssh-server-config-disallow-rootlogin
15.6aarch64, ppc64le, s390x, x86_64
9.6p1-150600.6.3.1Fixed in 9.6p1-150600.6.6.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo zypper update openssh-server-config-disallow-rootlogin
openssh
9x86_64
8.7p1-34.el9Fixed in 8.7p1-34.el9_3.3
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade openssh
openssh-askpass
9x86_64
8.7p1-34.el9Fixed in 8.7p1-34.el9_3.3
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade openssh-askpass
openssh-clients
9x86_64
8.7p1-34.el9Fixed in 8.7p1-34.el9_3.3
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade openssh-clients
openssh-keycat
9x86_64
8.7p1-34.el9Fixed in 8.7p1-34.el9_3.3
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade openssh-keycat
openssh-server
9x86_64
8.7p1-34.el9Fixed in 8.7p1-34.el9_3.3
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade openssh-server
pam_ssh_agent_auth
9x86_64
0.10.4-5.34.el9Fixed in 0.10.4-5.34.el9_3.3
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade pam_ssh_agent_auth
openssh
9.8x86_64
8.7p1-30.el9_2Fixed in 8.7p1-34.el9_3.3
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade openssh
openssh-askpass
9.8x86_64
8.7p1-30.el9_2Fixed in 8.7p1-34.el9_3.3
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade openssh-askpass
openssh-clients
9.8x86_64
8.7p1-30.el9_2Fixed in 8.7p1-34.el9_3.3
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade openssh-clients
openssh-keycat
9.8x86_64
8.7p1-30.el9_2Fixed in 8.7p1-34.el9_3.3
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade openssh-keycat
openssh-server
9.8x86_64
8.7p1-30.el9_2Fixed in 8.7p1-34.el9_3.3
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade openssh-server
pam_ssh_agent_auth
9.8x86_64
0.10.4-5.30.el9_2Fixed in 0.10.4-5.34.el9_3.3
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade pam_ssh_agent_auth

CNNVD cross-reference

Cached Chinese vulnerability records provide local-language classification and aliases. They do not override distribution package or backport status.