CVE-2024-14021
Last modified
CVE-2024-14021 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. LlamaIndex (run-llama/llama_index) versions up to and including 0.11.6 contain an unsafe deserialization vulnerability in BGEM3Index.load_from_disk() in llama_index/indices/managed/bge_m3/base.py. The function uses pickle.load() to deserialize multi_embed_store.pkl from a user-supplied persist_dir without validation. EPSS estimates a 0.29% chance of exploitation in the next 30 days.
Description
LlamaIndex (run-llama/llama_index) versions up to and including 0.11.6 contain an unsafe deserialization vulnerability in BGEM3Index.load_from_disk() in llama_index/indices/managed/bge_m3/base.py. The function uses pickle.load() to deserialize multi_embed_store.pkl from a user-supplied persist_dir without validation. An attacker who can provide a crafted persist directory containing a malicious pickle file can trigger arbitrary code execution when the victim loads the index from disk.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Llamaindex | Llamaindex | <= 0.11.6 |
References
- https://huntr.com/bounties/ab4ceeb4-aa85-4d1c-aaca-4eda1b71fc12Exploit, Third Party Advisory
- https://www.llamaindex.ai/Product
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-14021?
How severe is CVE-2024-14021?
How do I fix CVE-2024-14021?
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-14010Typora 1.7.4 contains a command injection vulnerability in t…9.8
- CVE-2024-14011Rejected reason: This is a duplicate.
- CVE-2024-14012Potential privilege escalation issue in Revenera InstallShie…7.3
- CVE-2024-14015The WordPress eCommerce Plugin WordPress plugin through 2.9…7.1
- CVE-2024-1402Mattermost fails to check if a custom emoji reaction exists …4.3
- CVE-2024-14020A weakness has been identified in carboneio carbone up to fb…5
- CVE-2024-14024An improper certificate validation vulnerability has been re…6.7
- CVE-2024-14025An SQL injection vulnerability has been reported to affect V…6.7
- CVE-2024-14026A command injection vulnerability has been reported to affec…7.8
- CVE-2024-14027In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-14028Use after free vulnerability in Softing smartLink HW-DP or s…6.5
- CVE-2024-14029Tornado before 6.4.1 ignores duplicate Transfer-Encoding: ch…7.5
Are you affected by CVE-2024-14021?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
