CVE-2024-3271
llama-index-core Command Injection vulnerability
9.8
CRITICAL
CVSS 3.1
EPSS 2.9%
描述
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.
如何修補 CVE-2024-3271
要修補 CVE-2024-3271,請將受影響套件升級到下列已修補版本。
- —升級至 0.10.24 或更新版本
CVE-2024-3271 正在被利用嗎?
低 — EPSS 為 2.9%,目前沒有觀察到大規模利用活動。
受影響套件(1)
- from 0, < 0.10.24
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |