CVE-2024-12909 – llama-index-packs-finchat
Package
Manager: pip
Name: llama-index-packs-finchat
Vulnerable Version: >=0 <=0.3.0
Severity
Level: Critical
CVSS v3.1: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS: 0.00334 pctl0.55581
Details
llama-index-packs-finchat SQL Injection vulnerability A vulnerability in the FinanceChatLlamaPack of the llama-index-packs-finchat package, versions up to v0.3.0, 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 resolved by no longer officially supporting the package and moving it into the `stale_packages` branch on the repo, this removing it from documentation etc.
Metadata
Created: 2025-03-20T12:32:44Z
Modified: 2025-04-03T13:11:41Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-x48g-hm9c-ww42/GHSA-x48g-hm9c-ww42.json
CWE IDs: ["CWE-89"]
Alternative ID: GHSA-x48g-hm9c-ww42
Finding: F297
Auto approve: 1