CVE-2024-3271
Last modified
CVE-2024-3271 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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?
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-32704Missing Authorization vulnerability in reputeinfosystems ARF…6.5
- CVE-2024-32705Missing Authorization vulnerability in reputeinfosystems ARF…8.8
- CVE-2024-32706Improper Neutralization of Special Elements used in an SQL C…8.8
- CVE-2024-32707Improper Neutralization of Input During Web Page Generation …5.9
- CVE-2024-32708Authentication Bypass by Spoofing vulnerability in helderk M…3.7
- CVE-2024-32709Improper Neutralization of Special Elements used in an SQL C…9.3
- CVE-2024-32710Improper Neutralization of Special Elements used in an SQL C…8.5
- CVE-2024-32711Improper Neutralization of Input During Web Page Generation …6.5
- CVE-2024-32712Missing Authorization vulnerability in Podlove Podlove Podca…4.3
- CVE-2024-32713Missing Authorization vulnerability in AutoWriter AI Post Ge…8.8
- CVE-2024-32714Missing Authorization vulnerability in Academy LMS academy.T…8.8
- CVE-2024-32715Missing Authorization vulnerability in Olive Themes Olive On…7.5
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
