LlamaIndex (aka llama_index) through 0.9.34 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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2024-01-22T00:00:00

Updated: 2024-08-01T23:13:07.393Z

Reserved: 2024-01-22T00:00:00

Link: CVE-2024-23751

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2024-01-22T01:15:08.557

Modified: 2024-11-21T08:58:19.283

Link: CVE-2024-23751

cve-icon Redhat

No data.