CVE-2024-12911: run-llama llama_index - SQL Injection
- Cve: CVE-2024-12911
- Name: run-llama llama_index - SQL Injection
- Description: A vulnerability in the `default_jsonalyzer` function of the `JSONalyzeQueryEngine` in the run-llama/llama_index repository allows for SQL injection via prompt injection. This can lead to arbitrary file creation and Denial-of-Service (DoS) attacks. The vulnerability affects the latest version and is fixed in version 0.5.1.
- Impact: Attackers can execute arbitrary SQL, create files, and cause denial of service, potentially compromising data integrity and availability.
- Remediation: Update to version 0.5.1.
- Vulnerability type: sql_injection
- Vulnerability impact: data_tampering, denial_of_service
- Requirement type: user_interaction
- Requirements: Attacker needs to craft prompt injection
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.1
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
- Epss score: 0.00522
- Epss percentile: 0.45184
- Assignee: [email protected]
- Published at: 2025-03-20T10:15:32Z
- Age in days: 614
- Modified at: 2026-06-17T07:00:44Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-12911
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://huntr.com/bounties/095f9e67-311d-494c-99c5-5e61a0adb8f3 | nvd | 2025-03-20 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/run-llama/llama_index/commit/bf282074e20e7dafd5e2066137dcd4cd17c3fb9e | nvd | Patch |
| https://huntr.com/bounties/095f9e67-311d-494c-99c5-5e61a0adb8f3 | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| llamaindex:llamaindex | < 0.5.1 | no | nvd | /v1/products/llamaindex/llamaindex |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| run-llama/llama_index | commit, fix, package | yes | /v1/repositories/run-llama/llama_index |
Index
- Repositories: 98
- Repositories high signal: 57
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-03-20
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts