What’s Vulnerable › Vulnerabilities

CVE-2024-12911: SQL Injection in run-llama/llama_index

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.

Affected products

How to fix

Upgrade to a fixed version: run-llama/llama_index 0.5.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-12911 or the next vulnerability affects your stack