← CVE Intelligence

CVE-2024-11958

SQL Injection in run-llama/llama_index PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
run-llama / run-llama/llama_indexaffected unspecified before 0.4.0

CWE

CWE-89

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.