CVE-2024-58339 (CNNVD-202601-1884)
中文标题:
LlamaIndex 安全漏洞
英文标题:
LlamaIndex (run-llama/llama_index) versions up to and including 0.12.2 contain an uncontrolled resou
漏洞描述
中文描述:
LlamaIndex是LlamaIndex开源的一个 LLM 应用程序的数据框架。 LlamaIndex 0.12.2及之前版本存在安全漏洞,该漏洞源于VannaPack VannaQueryEngine实现中未强制执行查询执行限制,可能导致资源消耗型拒绝服务攻击。
英文描述:
LlamaIndex (run-llama/llama_index) versions up to and including 0.12.2 contain an uncontrolled resource consumption vulnerability in the VannaPack VannaQueryEngine implementation. The custom_query() logic generates SQL statements from a user-supplied prompt and executes them via vn.run_sql() without enforcing query execution limits In downstream deployments where untrusted users can supply prompts, an attacker can trigger expensive or unbounded SQL operations that exhaust CPU or memory resources, resulting in a denial-of-service condition. The vulnerable execution path occurs in llama_index/packs/vanna/base.py within custom_query().
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| run-llama | llama_index | - | ≤ 0.12.2 | - |
cpe:2.3:a:run-llama:llama_index:*:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
CVSS评分详情
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| NVD | nvd_CVE-2024-58339 |
2026-01-13 03:00:04 | 2026-01-13 06:36:15 |
| CVE | cve_CVE-2024-58339 |
2026-01-13 07:33:19 | 2026-01-13 07:40:53 |
| CNNVD | cnnvd_CNNVD-202601-1884 |
2026-01-15 01:52:31 | 2026-01-15 01:53:12 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 其他
- cnnvd_id: 未提取 -> CNNVD-202601-1884
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- severity: SeverityLevel.UNKNOWN -> SeverityLevel.HIGH
- cvss_score: 未提取 -> 8.7
- cvss_vector: 未提取 -> CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- cvss_version: 未提取 -> 4.0
- affected_products_count: 0 -> 1
- data_sources: ['nvd'] -> ['cve', 'nvd']