run-llama/llama_index · Security

LlamaIndex vulnerable to Creation of Temporary File in Directory with Insecure Permissions

GHSA ID
GHSA-jmgm-gx32-vp4w
CVE ID
CVE-2024-12911
Severity
high
Published
Updated
CVSS
7.1 · CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
CVSS v3
7.1 · CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H

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.12.3.

CWEs

References