CVE-2024-58339 LlamaIndex <= 0.12.2 VannaQueryEngine SQL Execution Allows Resource Exhaustion
설명
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().
영향 받는 제품 제품 1개
-
run-llama
llama_index
영향 받는 버전
- 0.12.2 이하
해결 버전
해결된 버전 정보가 없습니다.
참고 자료 4건
- github.com https://github.com/run-llama/llama_index (새 창)
- huntr.com https://huntr.com/bounties/a1d6c30d-fce0-412a-bd22-14e0d4c1fa1f (새 창)
- llamaindex.ai https://www.llamaindex.ai/ (새 창)
- vulncheck.com https://www.vulncheck.com/advisories/llamaindex-vannaqueryengine-sql-execution-allows-resource-exhaustion (새 창)