SQL Injection Vulnerability in FinanceChatLlamaPack by Run-Llama
CVE-2024-12909
10CRITICAL
What is CVE-2024-12909?
A vulnerability exists in the FinanceChatLlamaPack of the run-llama repository which enables attackers to exploit the run_sql_query
function within the database_agent
. By using this SQL injection flaw, an attacker can execute arbitrary SQL queries. This can potentially allow unauthorized access to sensitive data or lead to remote code execution through PostgreSQL's large object feature. Users are encouraged to upgrade to version 0.3.0 or later to mitigate this risk.
Affected Version(s)
run-llama/llama_index < 0.3.0