CVE-2024-12909 SQL Injection to RCE in run-llama/llama_index
CriticalCVSS 9.8
EPSS 1.4%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi llama-index-packs-finchat(PyPI) | <= 0.3.0 | No fix listed |
| pypi llama-index-packs-finchat(PyPI) | = 0.1.0 | No fix listed |
| pypi llama-index-packs-finchat(PyPI) | = 0.1.1 | No fix listed |
| pypi llama-index-packs-finchat(PyPI) | = 0.2.0 | No fix listed |
| pypi llama-index-packs-finchat(PyPI) | = 0.3.0 | No fix listed |
| run-llama/llama_index | < 0.3.0 | 0.3.0 |
| llamaindex | < 0.3.0 | 0.3.0 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com product
- github.com
- huntr.com exploit third-party-advisory
- pypi.org product
- github.com vendor-advisory
- github.com