CVE-2024-3098
Last modified
CVE-2024-3098 is a vulnerability of currently unknown severity. 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. EPSS estimates a 0.95% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2024-3098?
How severe is CVE-2024-3098?
How do I fix CVE-2024-3098?
Are you affected by CVE-2024-3098?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
