CVE-2024-12704 | Denial of Service (DoS) in run-llama/llama_index

Exp

A vulnerability in the LangChainLLM class of the run-llama/llama_index repository, version v0.12.5, allows for a Denial of Service (DoS) attack. The stream_complete method executes the llm using a thread and retrieves the result via the get_response_gen method of the StreamingGeneratorCallbackHandler class. If the thread terminates abnormally before the _llm.predict is executed, there is no exception handling for this case, leading to an infinite loop in the get_response_gen function. This can be triggered by providing an input of an incorrect type, causing the thread to terminate and the process to continue running indefinitely.

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

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

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

CVE-2024-12704 に関する公開 exploit 参照(Exploit-DB)

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

CVE-2024-12704 の EPSS(Exploit Prediction Scoring System)スコア

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

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-21 0.71% 0.76% +0.05%
2 2026-06-15 0.35% 0.71% +0.36%
3 2026-04-28 0.35%

EPSS の全履歴 (全 10 件)

CVE-2024-12704 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
7.5 3.0 HIGH
CVSS:3.0/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]

CVE-2024-12704 の弱点分類(列挙)

CVE-2024-12704 の GitHub Security Advisory

GHSA-j3wr-m6xh-64hg · 深刻度: high · エコシステム: pip — LlamaIndex Improper Handling of Exceptional Conditions vulnerability

CVE-2024-12704 の OS トラッカー

vendor priority summary link
redhat high https://access.redhat.com/security/cve/CVE-2024-12704

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

ベンダー 製品 バージョン 生の CPE
llamaindex llamaindex 0.12.5 cpe:2.3:a:llamaindex:llamaindex:0.12.5:*:*:*:*:*:*:*

CVE-2024-12704 の参考情報

cvelogic Threat Intelligence