CVE-2024-3271
Last modified
CVE-2024-3271 is a vulnerability of currently unknown severity. 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. EPSS estimates a 2.86% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Llamaindex | Llamaindex | >= 0.10.6, < 0.10.26 |
References
- https://huntr.com/bounties/9b32490e-7cf9-470e-8d49-ba083ae7a279Exploit, Third Party Advisory
- https://huntr.com/bounties/9b32490e-7cf9-470e-8d49-ba083ae7a279Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-3271?
How severe is CVE-2024-3271?
How do I fix CVE-2024-3271?
Are you affected by CVE-2024-3271?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
