Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
run-llama run-llama/llama_index
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

LlamaIndex是LlamaIndex开源的一个 LLM 应用程序的数据框架。 LlamaIndex v0.12.5版本存在安全漏洞,该漏洞源于未处理线程异常,可能导致拒绝服务攻击。

AI Predicted 5.3 Difficulty: Moderate EPSS 0.81% · P56

Possible ATT&CK Techniques 1 AI

T1499 · Endpoint Denial of Service
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-12704

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Denial of Service (DoS) in run-llama/llama_index
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
不可达退出条件的循环(无限循环)
Source: CVE Program / CVE List V5
Vulnerability Title
LlamaIndex 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
LlamaIndex是LlamaIndex开源的一个 LLM 应用程序的数据框架。 LlamaIndex v0.12.5版本存在安全漏洞,该漏洞源于未处理线程异常,可能导致拒绝服务攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
run-llama run-llama/llama_index unspecified ~ 0.12.6 -

II. Public POCs for CVE-2024-12704

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-12704

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-12704 (1)

Vendor Advisories for CVE-2024-12704 (1)

Same Patch Batch · run-llama · 2025-03-20 · 5 CVEs total

CVE-2024-12910 Denial of Service in run-llama/llama_index
CVE-2024-12911 SQL Injection in run-llama/llama_index
CVE-2024-12909 SQL Injection to RCE in run-llama/llama_index
CVE-2024-11958 SQL Injection in run-llama/llama_index

IV. Related Vulnerabilities

V. Comments for CVE-2024-12704

No comments yet


Leave a comment