CVE-2023-6004 | Libssh: proxycommand/proxyjump features allow injection of malicious code through hostname

A flaw was found in libssh. By utilizing the ProxyCommand or ProxyJump feature, users can exploit unchecked hostname syntax on the client. This issue may allow an attacker to inject malicious code into the command of the features mentioned through the hostname parameter.

公開: 2024-01-03 最終更新: 2026-06-17 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2023-6004 は低リスク(32/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.45%、36 パーセンタイル) 推奨対応: 悪用情報と EPSS の推移を監視し、必要に応じて優先度を見直してください。

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

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

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

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 0.05% 0.45% +0.40%
2 2026-03-04 0.05% 0.05% +0.01%
3 2026-03-01 0.05%

EPSS の全履歴 (全 36 件)

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

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
4.8 3.1 MEDIUM
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L クリックして展開
攻撃ベクター (AV:L)
対象ホスト上でコードを実行できること、または別ユーザーの誤操作・悪意ある操作が前提になる。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:L)
一般ユーザー権限があれば足り、管理者(root 相当)は不要。
ユーザーの関与 (UI:R)
インストールの許可、設定変更、悪意あるファイルの実行など、人の一度の判断がトリガーになる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:L)
一部のデータや属性が漏えいしうるが、全件一括流出といった規模には至らない。
完全性への影響 (I:L)
レコードの一部書き換えや設定の歪みなど、限定的だが検知・復旧が必要な水準。
可用性への影響 (A:L)
遅延や一部機能の停止、断続的な障害など、運用で吸収しうる範囲。
1.3 3.4 [email protected]
4.8 3.1 MEDIUM
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L クリックして展開
攻撃ベクター (AV:L)
対象ホスト上でコードを実行できること、または別ユーザーの誤操作・悪意ある操作が前提になる。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:L)
一般ユーザー権限があれば足り、管理者(root 相当)は不要。
ユーザーの関与 (UI:R)
インストールの許可、設定変更、悪意あるファイルの実行など、人の一度の判断がトリガーになる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:L)
一部のデータや属性が漏えいしうるが、全件一括流出といった規模には至らない。
完全性への影響 (I:L)
レコードの一部書き換えや設定の歪みなど、限定的だが検知・復旧が必要な水準。
可用性への影響 (A:L)
遅延や一部機能の停止、断続的な障害など、運用で吸収しうる範囲。
1.3 3.4 [email protected]

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

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

vendor priority summary link
alpine CVE-2023-6004: 1 source package rows (libssh); 5 state rows across 5 repos (3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 5, open 0. https://security.alpinelinux.org/vuln/CVE-2023-6004
debian not yet assigned CVE-2023-6004 not yet assigned priority: Debian including 1 source packages (libssh), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2023-6004
gentoo high CVE-2023-6004: 1 GLSA(s) (202312-16), 1 atom(s) (net-libs/libssh); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2023-6004
redhat low https://access.redhat.com/security/cve/CVE-2023-6004
suse medium CVE-2023-6004 severity moderate: SUSE including 335 source package names (1.2.3-2.2.63:libssh-config-0.9.8-150400.3.3.1, 1.2.3-2.2.63:libssh4-0.9.8-150400.3.3.1, …), 896 product×package rows across 256 product lines (Container bci/golang, Container bci/nodejs, … (256 product lines)): Fixed 602, Known Affected 195, Known Not Affected 99. https://www.suse.com/security/cve/CVE-2023-6004/
ubuntu medium CVE-2023-6004 medium priority: Ubuntu including 1 source packages (libssh), 8 status rows across 8 suites (bionic, focal, jammy, lunar, mantic, trusty, upstream, xenial): released 7, ignored 1. https://ubuntu.com/security/CVE-2023-6004

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

ベンダー 製品 バージョン 生の CPE
libssh libssh >= 0.8.0, < 0.9.8 cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*
libssh libssh >= 0.10.0, < 0.10.6 cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*
fedoraproject fedora 38 cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
redhat enterprise_linux 8.0 cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
redhat enterprise_linux 9.0 cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*

CVE-2023-6004 の参考情報

cvelogic Threat Intelligence