NetSight
critical9.8

CVE-2024-23751

SQL injection in llama-index

Impact

LlamaIndex (aka llama_index) through 0.9.35 allows SQL injection via the Text-to-SQL feature in NLSQLTableQueryEngine, SQLTableRetrieverQueryEngine, NLSQLRetriever, RetrieverQueryEngine, and PGVectorSQLQueryEngine. For example, an attacker might be able to delete this year's student records via "Drop the Students table" within English language input.

Affected packages

EcosystemPackageAffectedFixed in
pipllama-index<= 0.9.35none recorded

Affected products

VendorProductAffected versions
LlamaindexLlamaindex
through 0.9.34

Weakness classification

References