Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-339r-cjv9-x78g

Опубликовано: 20 мар. 2025
Источник: github
Github: Прошло ревью
CVSS3: 9.8

Описание

LlamaIndex Retrievers Integration: DuckDBRetriever SQL Injection

A SQL injection vulnerability exists in the duckdb_retriever component of the run-llama/llama_index repository, specifically in llama-index-retrievers-duckdb-retriever prior to v0.4.0. The vulnerability arises from the construction of SQL queries without using prepared statements, allowing an attacker to inject arbitrary SQL code. This can lead to remote code execution (RCE) by installing the shellfs extension and executing malicious commands.

Пакеты

Наименование

llama-index-retrievers-duckdb-retriever

pip
Затронутые версииВерсия исправления

< 0.4.0

0.4.0

EPSS

Процентиль: 78%
0.01165
Низкий

9.8 Critical

CVSS3

Дефекты

CWE-89

Связанные уязвимости

CVSS3: 9.8
nvd
11 месяцев назад

A SQL injection vulnerability exists in the `duckdb_retriever` component of the run-llama/llama_index repository, specifically in the latest version. The vulnerability arises from the construction of SQL queries without using prepared statements, allowing an attacker to inject arbitrary SQL code. This can lead to remote code execution (RCE) by installing the shellfs extension and executing malicious commands.

EPSS

Процентиль: 78%
0.01165
Низкий

9.8 Critical

CVSS3

Дефекты

CWE-89