CVE catalog

CVE-2023-51385

openssh: CVE-2023-51385

[CVE catalog]

Severity
Medium · CVSS 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
19.75% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianopensshsid1:10.6p1-1fixed
Debianopensshforky1:10.6p1-1fixed
Debianopensshtrixie1:10.0p1-7+deb13u4fixed
Debianopensshtrixie-security1:10.0p1-7+deb13u2fixed
Debianopensshbookworm1:9.2p1-2+deb12u10fixed
Debianopensshbookworm-security1:9.2p1-2+deb12u9fixed
CpeopensshNot reported9.6fixed
Cpedebian_linuxNot reportedNot reportedunknown
Alpineopenssh3.169.0_p1-r5fixed
Alpineopenssh3.179.1_p1-r5fixed
Alpineopenssh3.199.6_p1-r0fixed
Alpineopenssh3.209.6_p1-r0fixed
Alpineopenssh3.219.6_p1-r0fixed
Alpineopenssh3.229.6_p1-r0fixed
Alpineopenssh3.239.6_p1-r0fixed
Alpineopenssh3.249.6_p1-r0fixed
Ubuntuopensshpro1:6.9p1-2vulnerable
Ubuntuopensshpro1:6.9p1-3vulnerable
Ubuntuopensshpro1:7.1p1-1vulnerable
Ubuntuopensshpro1:7.1p1-3vulnerable
Ubuntuopensshpro1:7.1p1-4vulnerable
Ubuntuopensshpro1:7.1p1-6vulnerable
Ubuntuopensshpro1:7.1p2-1vulnerable
Ubuntuopensshpro1:7.1p2-2vulnerable
Ubuntuopensshpro1:7.2p1-1vulnerable
Ubuntuopensshpro1:7.2p2-1vulnerable
Ubuntuopensshpro1:7.2p2-2vulnerable
Ubuntuopensshpro1:7.2p2-3vulnerable
Ubuntuopensshpro1:7.2p2-4vulnerable
Ubuntuopensshpro1:7.2p2-4ubuntu1vulnerable
Ubuntuopensshpro1:7.2p2-4ubuntu2.1vulnerable
Ubuntuopensshpro1:7.2p2-4ubuntu2.2vulnerable
Ubuntuopensshpro1:7.2p2-4ubuntu2.4vulnerable
Ubuntuopensshpro1:7.2p2-4ubuntu2.5vulnerable
Ubuntuopensshpro1:7.2p2-4ubuntu2.6vulnerable
Ubuntuopensshpro1:7.2p2-4ubuntu2.7vulnerable
Ubuntuopensshpro1:7.2p2-4ubuntu2.8vulnerable
Ubuntuopensshpro1:7.2p2-4ubuntu2.10vulnerable
Ubuntuopensshpro1:7.2p2-4ubuntu2.10+esm1vulnerable
Ubuntuopensshpro1:7.2p2-4ubuntu2.10+esm2vulnerable
Ubuntuopensshpro1:7.2p2-4ubuntu2.10+esm3vulnerable
Ubuntuopensshpro1:7.2p2-4ubuntu2.10+esm4vulnerable
Ubuntuopensshpro1:7.2p2-4ubuntu2.10+esm5vulnerable
Ubuntuopensshpro1:7.2p2-4ubuntu2.10+esm6fixed
Opensuseopensshtumbleweed9.6p1-11.1fixed
Suseopensshlinux enterprise module for basesystem 15 sp69.6p1-150600.6.6.1fixed
Suseopenssh-askpass-gnomelinux enterprise module for desktop applications 15 sp69.6p1-150600.6.6.1fixed
Opensuseopensshleap 15.69.6p1-150600.6.6.1fixed
Opensuseopenssh-askpass-gnomeleap 15.69.6p1-150600.6.6.1fixed
Suseopenssh-testuserlinux enterprise software development kit 12 sp50-81.12.1fixed
Suseopensshlinux enterprise server 12 sp57.2p2-81.12.1fixed
Suseopenssh-askpass-gnomelinux enterprise server 12 sp57.2p2-81.12.1fixed
Suseopensshlinux enterprise server for sap applications 12 sp57.2p2-81.12.1fixed
Suseopenssh-askpass-gnomelinux enterprise server for sap applications 12 sp57.2p2-81.12.1fixed
Suseopensshlinux enterprise high performance computing 15 sp2-ltss8.1p1-150200.5.46.1fixed
Suseopenssh-askpass-gnomelinux enterprise high performance computing 15 sp2-ltss8.1p1-150200.5.46.1fixed
Suseopensshlinux enterprise server 15 sp2-ltss8.1p1-150200.5.46.1fixed
Suseopenssh-askpass-gnomelinux enterprise server 15 sp2-ltss8.1p1-150200.5.46.1fixed
Suseopensshlinux enterprise server for sap applications 15 sp28.1p1-150200.5.46.1fixed
Suseopenssh-askpass-gnomelinux enterprise server for sap applications 15 sp28.1p1-150200.5.46.1fixed
Suseopensshlinux enterprise micro 5.38.4p1-150300.3.30.1fixed
Suseopensshlinux enterprise micro 5.48.4p1-150300.3.30.1fixed
Suseopensshlinux enterprise micro 5.58.4p1-150300.3.30.1fixed
Suseopensshlinux enterprise module for basesystem 15 sp58.4p1-150300.3.30.1fixed
Suseopenssh-askpass-gnomelinux enterprise module for desktop applications 15 sp58.4p1-150300.3.30.1fixed
Suseopensshlinux enterprise high performance computing 15 sp3-ltss8.4p1-150300.3.30.1fixed
Suseopenssh-askpass-gnomelinux enterprise high performance computing 15 sp3-ltss8.4p1-150300.3.30.1fixed
Suseopensshlinux enterprise high performance computing 15 sp4-espos8.4p1-150300.3.30.1fixed
Suseopenssh-askpass-gnomelinux enterprise high performance computing 15 sp4-espos8.4p1-150300.3.30.1fixed
Suseopensshlinux enterprise high performance computing 15 sp4-ltss8.4p1-150300.3.30.1fixed
Suseopenssh-askpass-gnomelinux enterprise high performance computing 15 sp4-ltss8.4p1-150300.3.30.1fixed
Suseopensshlinux enterprise server 15 sp3-ltss8.4p1-150300.3.30.1fixed
Suseopenssh-askpass-gnomelinux enterprise server 15 sp3-ltss8.4p1-150300.3.30.1fixed
Suseopensshlinux enterprise server 15 sp4-ltss8.4p1-150300.3.30.1fixed
Suseopenssh-askpass-gnomelinux enterprise server 15 sp4-ltss8.4p1-150300.3.30.1fixed
Suseopensshlinux enterprise server for sap applications 15 sp38.4p1-150300.3.30.1fixed
Suseopenssh-askpass-gnomelinux enterprise server for sap applications 15 sp38.4p1-150300.3.30.1fixed
Suseopensshlinux enterprise server for sap applications 15 sp48.4p1-150300.3.30.1fixed
Suseopenssh-askpass-gnomelinux enterprise server for sap applications 15 sp48.4p1-150300.3.30.1fixed
Suseopensshmanager proxy 4.38.4p1-150300.3.30.1fixed
Suseopensshmanager server 4.38.4p1-150300.3.30.1fixed
Suseopensshlinux enterprise micro 5.18.4p1-150300.3.30.1fixed
Suseopensshlinux enterprise micro 5.28.4p1-150300.3.30.1fixed
Suseopensshenterprise storage 7.18.4p1-150300.3.30.1fixed
Suseopenssh-askpass-gnomeenterprise storage 7.18.4p1-150300.3.30.1fixed
Opensuseopensshleap micro 5.38.4p1-150300.3.30.1fixed
Opensuseopensshleap micro 5.48.4p1-150300.3.30.1fixed
Opensuseopensshleap 15.58.4p1-150300.3.30.1fixed
Opensuseopenssh-askpass-gnomeleap 15.58.4p1-150300.3.30.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianopensshsourcesid1:9.6p1-1not yet assignedNot reportedNot reported
Debianopensshsourceforky1:9.6p1-1not yet assignedNot reportedNot reported
Debianopensshsourcetrixie1:9.6p1-1not yet assignedNot reportedNot reported
Debianopensshsourcebookworm1:9.2p1-2+deb12u2not yet assignedNot reportedNot reported
CpeopensshcpeNot reported9.6Not reportedNVD-CVE-2023-51385Not reported
Alpineopensshapk3.169.0_p1-r5Not reportedALPINE-CVE-2023-51385Not reported
Alpineopensshapk3.179.1_p1-r5Not reportedALPINE-CVE-2023-51385Not reported
Alpineopensshapk3.199.6_p1-r0Not reportedALPINE-CVE-2023-51385Not reported
Alpineopensshapk3.209.6_p1-r0Not reportedALPINE-CVE-2023-51385Not reported
Alpineopensshapk3.219.6_p1-r0Not reportedALPINE-CVE-2023-51385Not reported
Alpineopensshapk3.229.6_p1-r0Not reportedALPINE-CVE-2023-51385Not reported
Alpineopensshapk3.239.6_p1-r0Not reportedALPINE-CVE-2023-51385Not reported
Alpineopensshapk3.249.6_p1-r0Not reportedALPINE-CVE-2023-51385Not reported
Ubuntuopensshdebpro1:7.2p2-4ubuntu2.10+esm6Not reportedUSN-6560-3Not reported
Opensuseopensshrpmtumbleweed9.6p1-11.1Not reportedOPENSUSE-SU-2024:14113-1Not reported
Suseopensshrpmlinux enterprise module for basesystem 15 sp69.6p1-150600.6.6.1Not reportedSUSE-SU-2024:2393-1Not reported
Suseopenssh-askpass-gnomerpmlinux enterprise module for desktop applications 15 sp69.6p1-150600.6.6.1Not reportedSUSE-SU-2024:2393-1Not reported
Opensuseopensshrpmleap 15.69.6p1-150600.6.6.1Not reportedSUSE-SU-2024:2393-1Not reported
Opensuseopenssh-askpass-gnomerpmleap 15.69.6p1-150600.6.6.1Not reportedSUSE-SU-2024:2393-1Not reported
Suseopenssh-testuserrpmlinux enterprise software development kit 12 sp50-81.12.1Not reportedSUSE-SU-2024:0604-1Not reported
Suseopensshrpmlinux enterprise server 12 sp57.2p2-81.12.1Not reportedSUSE-SU-2024:0604-1Not reported
Suseopenssh-askpass-gnomerpmlinux enterprise server 12 sp57.2p2-81.12.1Not reportedSUSE-SU-2024:0604-1Not reported
Suseopensshrpmlinux enterprise server for sap applications 12 sp57.2p2-81.12.1Not reportedSUSE-SU-2024:0604-1Not reported
Suseopenssh-askpass-gnomerpmlinux enterprise server for sap applications 12 sp57.2p2-81.12.1Not reportedSUSE-SU-2024:0604-1Not reported
Suseopensshrpmlinux enterprise high performance computing 15 sp2-ltss8.1p1-150200.5.46.1Not reportedSUSE-SU-2024:0603-1Not reported
Suseopenssh-askpass-gnomerpmlinux enterprise high performance computing 15 sp2-ltss8.1p1-150200.5.46.1Not reportedSUSE-SU-2024:0603-1Not reported
Suseopensshrpmlinux enterprise server 15 sp2-ltss8.1p1-150200.5.46.1Not reportedSUSE-SU-2024:0603-1Not reported
Suseopenssh-askpass-gnomerpmlinux enterprise server 15 sp2-ltss8.1p1-150200.5.46.1Not reportedSUSE-SU-2024:0603-1Not reported
Suseopensshrpmlinux enterprise server for sap applications 15 sp28.1p1-150200.5.46.1Not reportedSUSE-SU-2024:0603-1Not reported
Suseopenssh-askpass-gnomerpmlinux enterprise server for sap applications 15 sp28.1p1-150200.5.46.1Not reportedSUSE-SU-2024:0603-1Not reported
Suseopensshrpmlinux enterprise micro 5.38.4p1-150300.3.30.1Not reportedSUSE-SU-2024:0596-1Not reported
Suseopensshrpmlinux enterprise micro 5.48.4p1-150300.3.30.1Not reportedSUSE-SU-2024:0596-1Not reported
Suseopensshrpmlinux enterprise micro 5.58.4p1-150300.3.30.1Not reportedSUSE-SU-2024:0596-1Not reported
Suseopensshrpmlinux enterprise module for basesystem 15 sp58.4p1-150300.3.30.1Not reportedSUSE-SU-2024:0596-1Not reported
Suseopenssh-askpass-gnomerpmlinux enterprise module for desktop applications 15 sp58.4p1-150300.3.30.1Not reportedSUSE-SU-2024:0596-1Not reported
Suseopensshrpmlinux enterprise high performance computing 15 sp3-ltss8.4p1-150300.3.30.1Not reportedSUSE-SU-2024:0596-1Not reported
Suseopenssh-askpass-gnomerpmlinux enterprise high performance computing 15 sp3-ltss8.4p1-150300.3.30.1Not reportedSUSE-SU-2024:0596-1Not reported
Suseopensshrpmlinux enterprise high performance computing 15 sp4-espos8.4p1-150300.3.30.1Not reportedSUSE-SU-2024:0596-1Not reported
Suseopenssh-askpass-gnomerpmlinux enterprise high performance computing 15 sp4-espos8.4p1-150300.3.30.1Not reportedSUSE-SU-2024:0596-1Not reported
Suseopensshrpmlinux enterprise high performance computing 15 sp4-ltss8.4p1-150300.3.30.1Not reportedSUSE-SU-2024:0596-1Not reported
Suseopenssh-askpass-gnomerpmlinux enterprise high performance computing 15 sp4-ltss8.4p1-150300.3.30.1Not reportedSUSE-SU-2024:0596-1Not reported
Suseopensshrpmlinux enterprise server 15 sp3-ltss8.4p1-150300.3.30.1Not reportedSUSE-SU-2024:0596-1Not reported
Suseopenssh-askpass-gnomerpmlinux enterprise server 15 sp3-ltss8.4p1-150300.3.30.1Not reportedSUSE-SU-2024:0596-1Not reported
Suseopensshrpmlinux enterprise server 15 sp4-ltss8.4p1-150300.3.30.1Not reportedSUSE-SU-2024:0596-1Not reported
Suseopenssh-askpass-gnomerpmlinux enterprise server 15 sp4-ltss8.4p1-150300.3.30.1Not reportedSUSE-SU-2024:0596-1Not reported
Suseopensshrpmlinux enterprise server for sap applications 15 sp38.4p1-150300.3.30.1Not reportedSUSE-SU-2024:0596-1Not reported
Suseopenssh-askpass-gnomerpmlinux enterprise server for sap applications 15 sp38.4p1-150300.3.30.1Not reportedSUSE-SU-2024:0596-1Not reported
Suseopensshrpmlinux enterprise server for sap applications 15 sp48.4p1-150300.3.30.1Not reportedSUSE-SU-2024:0596-1Not reported
Suseopenssh-askpass-gnomerpmlinux enterprise server for sap applications 15 sp48.4p1-150300.3.30.1Not reportedSUSE-SU-2024:0596-1Not reported
Suseopensshrpmmanager proxy 4.38.4p1-150300.3.30.1Not reportedSUSE-SU-2024:0596-1Not reported
Suseopensshrpmmanager server 4.38.4p1-150300.3.30.1Not reportedSUSE-SU-2024:0596-1Not reported
Suseopensshrpmlinux enterprise micro 5.18.4p1-150300.3.30.1Not reportedSUSE-SU-2024:0596-1Not reported
Suseopensshrpmlinux enterprise micro 5.28.4p1-150300.3.30.1Not reportedSUSE-SU-2024:0596-1Not reported
Suseopensshrpmenterprise storage 7.18.4p1-150300.3.30.1Not reportedSUSE-SU-2024:0596-1Not reported
Suseopenssh-askpass-gnomerpmenterprise storage 7.18.4p1-150300.3.30.1Not reportedSUSE-SU-2024:0596-1Not reported
Opensuseopensshrpmleap micro 5.38.4p1-150300.3.30.1Not reportedSUSE-SU-2024:0596-1Not reported
Opensuseopensshrpmleap micro 5.48.4p1-150300.3.30.1Not reportedSUSE-SU-2024:0596-1Not reported
Opensuseopensshrpmleap 15.58.4p1-150300.3.30.1Not reportedSUSE-SU-2024:0596-1Not reported
Opensuseopenssh-askpass-gnomerpmleap 15.58.4p1-150300.3.30.1Not reportedSUSE-SU-2024:0596-1Not reported

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References