CVE-2024-12909 is a critical SQL injection vulnerability affecting the FinanceChatLlamaPack within the run-llama/llama_index repository, specifically in versions up to v0.12.3. This flaw resides in the `run_sql_query` function of the `database_agent`. An unauthenticated attacker can exploit this vulnerability remotely to inject arbitrary SQL queries, potentially leading to remote code execution (RCE) via PostgreSQL's large object functionality. The vulnerability carries a CVSS score of 9.8 (CRITICAL) due to its network-based attack vector, low attack complexity, and high impact on confidentiality, integrity, and availability. While there is no evidence of active exploitation or public exploit code (Metasploit, Nuclei, ExploitDB), the vulnerability has garnered significant community discussion with 10 mentions, indicating awareness. The issue is resolved in version 0.3.0.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
< 0.3.0CPE matchmatch criteria | cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:* |
CVSS version used by this source: 3.0
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.