CVE-2024-3098
Last modified
CVE-2024-3098 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| run-llama | run-llama/llama_index | < 0.10.24 |
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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-30965DedeCMS v5.7 was discovered to contain a Cross-Site Request …8.8
- CVE-2024-3097The WordPress Gallery Plugin – NextGEN Gallery plugin for Wo…5.3
- CVE-2024-30973An issue in V-SOL G/EPON ONU HG323AC-B with firmware version…8.8
- CVE-2024-30974SQL Injection vulnerability in autoexpress v.1.3.0 allows at…7.3
- CVE-2024-30977An issue in Secnet Security Network Intelligent AC Managemen…7.8
- CVE-2024-30979Cross Site Scripting vulnerability in Cyber Cafe Management …5.9
- CVE-2024-30980SQL Injection vulnerability in phpgurukul Cyber Cafe Managem…9.8
- CVE-2024-30981SQL Injection vulnerability in /edit-computer-detail.php in …9.8
- CVE-2024-30982SQL Injection vulnerability in phpgurukul Cyber Cafe Managem…9.8
- CVE-2024-30983SQL Injection vulnerability in phpgurukul Cyber Cafe Managem…7.3
- CVE-2024-30985SQL Injection vulnerability in "B/W Dates Reports" page in p…9.8
- CVE-2024-30986Cross Site Scripting vulnerability in /edit-services-details…6.5
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
