Bug 2353675 (CVE-2024-12909) - CVE-2024-12909 llama-index: SQL Injection to RCE in run-llama/llama_index
Summary: CVE-2024-12909 llama-index: SQL Injection to RCE in run-llama/llama_index
Keywords:
Status: NEW
Alias: CVE-2024-12909
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-20 11:06 UTC by OSIDB Bzimport
Modified: 2025-06-01 08:27 UTC (History)
12 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-03-20 11:06:39 UTC
A vulnerability in the FinanceChatLlamaPack of the run-llama/llama_index repository, versions up to v0.12.3, allows for SQL injection in the `run_sql_query` function of the `database_agent`. This vulnerability can be exploited by an attacker to inject arbitrary SQL queries, leading to remote code execution (RCE) through the use of PostgreSQL's large object functionality. The issue is fixed in version 0.3.0.


Note You need to log in before you can comment on or make changes to this bug.