CVE-2023-51385

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.

公開: 2023-12-18 最終更新: 2026-05-12 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2023-51385 は中リスク(60/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 17.23%、95 パーセンタイル) 根拠: EPSS 上、短期間での悪用可能性は高い水準です。 推奨対応: 悪用可能性が高いため、影響範囲の確認と修補の優先付けを推奨します。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2023-51385 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-05-12 16.52% 17.23% +0.71%
2 2026-03-04 17.98% 16.52% -1.46%
3 2026-03-01 17.98%

EPSS の全履歴 (全 58 件)

CVE-2023-51385 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
6.5 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:L)
一部のデータや属性が漏えいしうるが、全件一括流出といった規模には至らない。
完全性への影響 (I:L)
レコードの一部書き換えや設定の歪みなど、限定的だが検知・復旧が必要な水準。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
3.9 2.5 [email protected]
6.5 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:L)
一部のデータや属性が漏えいしうるが、全件一括流出といった規模には至らない。
完全性への影響 (I:L)
レコードの一部書き換えや設定の歪みなど、限定的だが検知・復旧が必要な水準。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
3.9 2.5 134c704f-9b21-4f2e-91b3-4a467353bcc0

CVE-2023-51385 の弱点分類(列挙)

CVE-2023-51385 の GitHub Security Advisory

GHSA-5mq4-x9g5-4vc4 · 深刻度: critical — In ssh in OpenSSH before 9.6, OS command injection might occur if a user name or host name has...

CVE-2023-51385 の OS トラッカー

vendor priority summary link
alpine CVE-2023-51385: 1 source package rows (openssh); 46 state rows across 7 repos (3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 7, open 39. https://security.alpinelinux.org/vuln/CVE-2023-51385
debian not yet assigned CVE-2023-51385 not yet assigned priority: Debian including 1 source packages (openssh), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2023-51385
gentoo high CVE-2023-51385: 1 GLSA(s) (202312-17), 1 atom(s) (net-misc/openssh); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2023-51385
redhat medium https://access.redhat.com/security/cve/CVE-2023-51385
suse medium CVE-2023-51385 severity moderate: SUSE including 347 source package names (15.7.20.5.1:openssh-9.6p1-150600.6.6.1, 15.7.20.5.1:openssh-clients-9.6p1-150600.6.6.1, …), 1686 product×package rows across 348 product lines (Container suse/git, Container suse/hpc/warewulf4-x86_64/sle-hpc-node, … (348 product lines)): Fixed 1491, Known Affected 195. https://www.suse.com/security/cve/CVE-2023-51385/
ubuntu medium CVE-2023-51385 medium priority: Ubuntu including 2 source packages (openssh, openssh-ssh1), 24 status rows across 12 suites (bionic, focal, jammy, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): released 11, ignored 10, DNE 2, needed 1. https://ubuntu.com/security/CVE-2023-51385

CVE-2023-51385 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
openbsd openssh < 9.6 cpe:2.3:a:openbsd:openssh:*:*:*:*:*:*:*:*
debian debian_linux 10.0 cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
debian debian_linux 11.0 cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
debian debian_linux 12.0 cpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:*

CVE-2023-51385 の参考情報

URL タグ
http://seclists.org/fulldisclosure/2024/Mar/21
http://www.openwall.com/lists/oss-security/2023/12/26/4 Mailing List Third Party Advisory
https://github.com/openssh/openssh-portable/commit/7ef3787c84b6b524501211b11a26c742f829af1a Patch
https://lists.debian.org/debian-lts-announce/2023/12/msg00017.html Mailing List Third Party Advisory
https://security.gentoo.org/glsa/202312-17 Third Party Advisory
https://security.netapp.com/advisory/ntap-20240105-0005/
https://support.apple.com/kb/HT214084
https://vin01.github.io/piptagole/ssh/security/openssh/libssh/remote-code-execution/2023/12/20/openssh-proxycommand-libssh-rce.html Third Party Advisory
https://www.debian.org/security/2023/dsa-5586 Third Party Advisory
https://www.openssh.com/txt/release-9.6 Release Notes
https://www.openwall.com/lists/oss-security/2023/12/18/2 Mailing List Release Notes
http://www.openwall.com/lists/oss-security/2025/10/07/1
http://www.openwall.com/lists/oss-security/2025/10/12/1
https://cert-portal.siemens.com/productcert/html/ssa-082556.html
https://cert-portal.siemens.com/productcert/html/ssa-769027.html
https://cert-portal.siemens.com/productcert/html/ssa-794697.html
cvelogic Threat Intelligence