Описание
A command injection vulnerability exists in the run-llama/llama_index repository, specifically within the safe_eval function. Attackers can bypass the intended security mechanism, which checks for the presence of underscores in code generated by LLM, to execute arbitrary code. This is achieved by crafting input that does not contain an underscore but still results in the execution of OS commands. The vulnerability allows for remote code execution (RCE) on the server hosting the application.
Ссылки
- Patch
- ExploitThird Party Advisory
- Patch
- ExploitThird Party Advisory
Уязвимые конфигурации
Конфигурация 1Версия от 0.10.6 (включая) до 0.10.26 (исключая)
cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:*
EPSS
Процентиль: 84%
0.0227
Низкий
9.8 Critical
CVSS3
Дефекты
CWE-77
Связанные уязвимости
CVSS3: 9.8
github
почти 2 года назад
llama-index-core Command Injection vulnerability
EPSS
Процентиль: 84%
0.0227
Низкий
9.8 Critical
CVSS3
Дефекты
CWE-77