VulnWatch by ve1ve2
critical 9.8 EPSS 2.89%

GHSA-r6gp-rff2-p3hf / CVE-2024-3271: llama-index-core Command Injection vulnerability

Source:
GitHub Security Advisories
Published:
Fetched:
Updated:
Affects:
llama-index-core

https://github.com/advisories/GHSA-r6gp-rff2-p3hf ↗

ghsapipCWE-77

llama-index-core Command Injection vulnerability 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 packages: pip:llama-index-core Patched: llama-index-core 0.10.24

Linked vulnerabilities (2)

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

llama-index-core Command Injection vulnerability

CWE: CWE-77Aliases: CVE-2024-3271
CVE-2024-3271 critical 9.8 EPSS 2.89% (p87) NVDCVE.orgGHSA
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

llama-index-core Command Injection vulnerability

CWE: CWE-77Aliases: GHSA-r6gp-rff2-p3hf