Skip to content
CriticalVulnerability

CVE-2024-12909: FinanceChatLlamaPack SQL injection in run_sql_query of database_agent

Identifier
CVE-2024-12909
Published
Record updated
View JSON
Affected
  • llama-index-packs-finchat <= 0.3.0
Fixed in
The source references a patch, a mitigation or a vendor advisory.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.5%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

A SQL injection flaw in the run_sql_query function of the database_agent within FinanceChatLlamaPack, in the run-llama/llama_index repository up to v0.12.3, lets an attacker run arbitrary SQL queries. Through PostgreSQL's large object functionality, this can lead to remote code execution (RCE).

Mitigation

Fixed in version 0.3.0.