Arbitrary Code Execution Vulnerability in llama_index's exec_utils
CVE-2024-3098

9.8CRITICAL

Key Information:

Vendor

Run-llama

Vendor
CVE Published:
10 April 2024

What is CVE-2024-3098?

A vulnerability exists in the exec_utils class of the llama_index package, particularly within the safe_eval function. This flaw allows for prompt injection, enabling attackers to execute arbitrary code on affected systems. The root cause lies in inadequate validation of user input, which can be exploited to circumvent access controls and run unauthorized commands. This vulnerability is an advancement of a previously addressed issue, providing a means to create files on the system through proof-of-concept exploits.

Affected Version(s)

run-llama/llama_index < 0.10.24

References

CVSS V3.1

Score:
9.8
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.