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.
References
Link | Resource |
---|---|
https://github.com/run-llama/llama_index/issues/9957 | Exploit Issue Tracking Vendor Advisory |
https://github.com/run-llama/llama_index/issues/9957 | Exploit Issue Tracking Vendor Advisory |
Configurations
History
No history.
Information
Published : 2024-01-22 01:15
Updated : 2024-11-21 08:58
NVD link : CVE-2024-23751
Mitre link : CVE-2024-23751
CVE.ORG link : CVE-2024-23751
JSON object : View
Products Affected
llamaindex
- llamaindex
CWE
CWE-89
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')