CVE-2022-21716 | Buffer Overflow in Twisted

Exp

Twisted is an event-based framework for internet applications, supporting Python 3.6+. Prior to 22.2.0, Twisted SSH client and server implement is able to accept an infinite amount of data for the peer's SSH version identifier. This ends up with a buffer using all the available memory. The attach is a simple as `nc -rv localhost 22 < /dev/zero`. A patch is available in version 22.2.0. There are currently no known workarounds.

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

総合評価: CVE-2022-21716 は悪用リスクが高い(75.7/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 3.61%、88 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。

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

CVE-2022-21716 に関する公開 exploit 参照(Exploit-DB)

EDB-ID ソース 種別 公開 リンク
nvd_ref exploit_tag Exploit-DB ↗

CVE-2022-21716 の EPSS(Exploit Prediction Scoring System)スコア

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

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 3.67% 3.61% -0.06%
2 2026-05-30 1.24% 3.67% +2.43%
3 2026-04-14 1.24%

EPSS の全履歴 (全 33 件)

CVE-2022-21716 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

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

CVE-2022-21716 の弱点分類(列挙)

CVE-2022-21716 の GitHub Security Advisory

GHSA-rv6r-3f5q-9rgx · 深刻度: high · エコシステム: pip — Twisted SSH client and server deny of service during SSH handshake.

CVE-2022-21716 の OS トラッカー

vendor priority summary link
alpine high CVE-2022-21716: 1 source package rows (py3-twisted); 7 state rows across 7 repos (3.17-community, 3.18-community, 3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 7, open 0. https://security.alpinelinux.org/vuln/CVE-2022-21716
debian not yet assigned CVE-2022-21716 not yet assigned priority: Debian including 1 source packages (twisted), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2022-21716
gentoo low CVE-2022-21716: 1 GLSA(s) (202301-02), 1 atom(s) (dev-python/twisted); latest impact low. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2022-21716
redhat high https://access.redhat.com/security/cve/CVE-2022-21716
suse high CVE-2022-21716 severity important: SUSE including 27 source package names (python-Twisted-15.2.1-9.17.1, python-Twisted-doc-19.10.0-150200.3.12.1, …), 58 product×package rows across 34 product lines (HPE Helion OpenStack 8, Image SLES15-SP3-BYOS-Azure, … (34 product lines)): Fixed 58. https://www.suse.com/security/cve/CVE-2022-21716/
ubuntu medium CVE-2022-21716 medium priority: Ubuntu including 1 source packages (twisted), 7 status rows across 7 suites (bionic, focal, impish, jammy, trusty, upstream, xenial): released 7. https://ubuntu.com/security/CVE-2022-21716

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

ベンダー 製品 バージョン 生の CPE
twisted twisted >= 21.7.0, < 22.2.0 cpe:2.3:a:twisted:twisted:*:*:*:*:*:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
oracle http_server 12.2.1.3.0 cpe:2.3:a:oracle:http_server:12.2.1.3.0:*:*:*:*:*:*:*
oracle http_server 12.2.1.4.0 cpe:2.3:a:oracle:http_server:12.2.1.4.0:*:*:*:*:*:*:*
oracle zfs_storage_appliance_kit 8.8 cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:*
fedoraproject fedora 35 cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
fedoraproject fedora 36 cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*

CVE-2022-21716 の参考情報

URL タグ
https://github.com/twisted/twisted/commit/89c395ee794e85a9657b112c4351417850330ef9 Patch Third Party Advisory
https://github.com/twisted/twisted/releases/tag/twisted-22.2.0 Release Notes Third Party Advisory
https://github.com/twisted/twisted/security/advisories/GHSA-rv6r-3f5q-9rgx Exploit Patch Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/03/msg00009.html Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7U6KYDTOLPICAVSR34G2WRYLFBD2YW5K/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GLKHA6WREIVAMBQD7KKWYHPHGGNKMAG6/
https://security.gentoo.org/glsa/202301-02 Third Party Advisory
https://twistedmatrix.com/trac/ticket/10284 Issue Tracking Vendor Advisory
https://www.oracle.com/security-alerts/cpuapr2022.html Patch Third Party Advisory
cvelogic Threat Intelligence