CVE-2024-3098
llama-index-core Prompt Injection vulnerability leading to Arbitrary Code Execution
9.8
CRITICAL
CVSS 3.1
EPSS 0.95%
描述
A vulnerability was identified in the `exec_utils` class of the `llama_index` package, specifically within the `safe_eval` function, allowing for prompt injection leading to arbitrary code execution. This issue arises due to insufficient validation of input, which can be exploited to bypass method restrictions and execute unauthorized code. The vulnerability is a bypass of the previously addressed CVE-2023-39662, demonstrated through a proof of concept that creates a file on the system by exploiting the flaw.
如何修補 CVE-2024-3098
要修補 CVE-2024-3098,請將受影響套件升級到下列已修補版本。
- —升級至 0.10.24 或更新版本
CVE-2024-3098 正在被利用嗎?
低 — EPSS 為 1.0%,目前沒有觀察到大規模利用活動。
受影響套件(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 |