CVE-2024-23751

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

Configuration 1 (hide)

cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:*

History

29 Jan 2024, 15:06

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
CPE cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:*
References () https://github.com/run-llama/llama_index/issues/9957 - () https://github.com/run-llama/llama_index/issues/9957 - Exploit, Issue Tracking, Vendor Advisory
CWE CWE-89
First Time Llamaindex llamaindex
Llamaindex

22 Jan 2024, 01:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-01-22 01:15

Updated : 2025-06-20 19:15


NVD link : CVE-2024-23751

Mitre 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')