CVE-2021-3634

A flaw has been found in libssh in versions prior to 0.9.6. The SSH protocol keeps track of two shared secrets during the lifetime of the session. One of them is called secret_hash and the other session_id. Initially, both of them are the same, but after key re-exchange, previous session_id is kept and used as an input to new secret_hash. Historically, both of these buffers had shared length variable, which worked as long as these buffers were same. But the key re-exchange operation can also change the key exchange method, which can be based on hash of different size, eventually creating "secret_hash" of different size than the session_id has. This becomes an issue when the session_id memory is zeroed or when it is used again during second key re-exchange.

公開: 2021-08-31 最終更新: 2026-06-17 Assigner: [email protected] ソース: [email protected]

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

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

CVE-2021-3634 の EPSS(Exploit Prediction Scoring System)スコア

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

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-24 4.60% 4.68% +0.09%
2 2026-06-15 0.12% 4.60% +4.48%
3 2026-04-08 0.12%

EPSS の全履歴 (全 27 件)

CVE-2021-3634 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
6.5 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:L)
一般ユーザー権限があれば足り、管理者(root 相当)は不要。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:N)
機微情報の漏えいは想定しにくい。
完全性への影響 (I:N)
改ざん・なりすましによる信頼毀損は軽微か、想定されない。
可用性への影響 (A:H)
長時間のサービス停止、データ損壊による復旧不能に近い状態など、利用者に著しい不便を与えうる。
2.8 3.6 [email protected]
4.0 2.0 MEDIUM
AV:N/AC:L/Au:S/C:N/I:N/A:P クリックして展開
アクセス経路 (AV:N)
ルーティング可能なネットワーク越しに、遠隔から到達・悪用しうる。
アクセスの複雑さ (AC:L)
手順が短く、再現性が高い。
認証 (AU:S)
一度の認証(シングルサインオン含む)を突破すればよい。
機密性への影響 (C:N)
機密性は損なわれない。
完全性への影響 (I:N)
完全性は損なわれない。
可用性への影響 (A:P)
可用性は部分的に損なわれる。
8.0 2.9 [email protected]

CVE-2021-3634 の弱点分類(列挙)

CVE-2021-3634 の OS トラッカー

vendor priority summary link
alpine CVE-2021-3634: 1 source package rows (libssh); 16 state rows across 8 repos (3.11-main, 3.17-community, 3.18-community, 3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 7, open 9. https://security.alpinelinux.org/vuln/CVE-2021-3634
debian not yet assigned CVE-2021-3634 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-2021-3634
gentoo high CVE-2021-3634: 1 GLSA(s) (202312-05), 1 atom(s) (net-libs/libssh); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2021-3634
redhat low https://access.redhat.com/security/cve/CVE-2021-3634
suse low CVE-2021-3634 severity low: SUSE including 278 source package names (13.2-3.8.1:libssh-config-0.9.8-150200.13.3.1, 13.2-3.8.1:libssh4-0.9.8-150200.13.3.1, …), 500 product×package rows across 101 product lines (Container suse/ltss/sle12.5/sles12sp5, Container suse/sle-micro-rancher/5.2, … (101 product lines)): Known Affected 225, Fixed 186, Known Not Affected 89. https://www.suse.com/security/cve/CVE-2021-3634/
ubuntu medium CVE-2021-3634 medium priority: Ubuntu including 1 source packages (libssh), 8 status rows across 8 suites (bionic, focal, hirsute, impish, jammy, trusty, upstream, xenial): released 5, not-affected 2, DNE 1. https://ubuntu.com/security/CVE-2021-3634

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

ベンダー 製品 バージョン 生の CPE
libssh libssh >= 0.9.1, < 0.9.6 cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*
redhat virtualization 4.0 cpe:2.3:a:redhat:virtualization:4.0:*:*:*:*:*:*:*
redhat enterprise_linux 8.0 cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:-:*:*:*
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:*:*:*:*:*:*:*
fedoraproject fedora 33 cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
fedoraproject fedora 34 cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
fedoraproject fedora 35 cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
oracle mysql_workbench <= 8.0.27 cpe:2.3:a:oracle:mysql_workbench:*:*:*:*:*:*:*:*
netapp cloud_backup cpe:2.3:a:netapp:cloud_backup:-:*:*:*:*:*:*:*

CVE-2021-3634 の参考情報

cvelogic Threat Intelligence