First published: Thu Mar 20 2025(Updated: )
A SQL injection vulnerability exists in the `duckdb_retriever` component of the run-llama/llama_index repository, specifically in the latest version. The vulnerability arises from the construction of SQL queries without using prepared statements, allowing an attacker to inject arbitrary SQL code. This can lead to remote code execution (RCE) by installing the shellfs extension and executing malicious commands.
Credit: security@huntr.dev
Affected Software | Affected Version | How to fix |
---|---|---|
LlamaIndex |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-11958 is classified as a high severity SQL injection vulnerability.
To fix CVE-2024-11958, update the `duckdb_retriever` component to use prepared statements for database queries.
CVE-2024-11958 affects the `duckdb_retriever` component in the run-llama/llama_index repository.
CVE-2024-11958 can facilitate SQL injection attacks, allowing attackers to manipulate database queries.
CVE-2024-11958 is found in the latest version of the run-llama/llama_index repository.