CVE-2024-3271
Assigner: @huntr_ai
Published: 2024-04-16T00:00:15.108Z
State: PUBLISHED
title: Command Injection in run-llama/llama_index
descriptions: value: 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.
affected: vendor: run-llama
product: run-llama/llama_index
versions: version: unspecified
lessThan: 10.26
status: affected
versionType: custom
metrics: cvssV3_0: version: 3.0
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: HIGH
confidentialityImpact: HIGH
integrityImpact: HIGH
privilegesRequired: NONE
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
baseScore: 9.8
baseSeverity: CRITICAL
problemTypes: descriptions: type: CWE
description: CWE-77  Improper Neutralization of Special Elements used in a Command ('Command Injection')
cweId: CWE-77
source: advisory: 9b32490e-7cf9-470e-8d49-ba083ae7a279
discovery: EXTERNAL