Security Advisory

CVE-2024-3271

CVE vulnerability detail - eXtreme Datacenter Security Operations

Published 2024-04-16 00:00:15
Last updated 2024-08-01 20:05:08
Assigner @huntr_ai
CVSS score 9.8
State PUBLISHED

Description

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.