Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-14021— LlamaIndex <= 0.11.6 BGEM3Index Unsafe Deserialization

Quick assessment

Affected
run-llama llama_index
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

LlamaIndex是LlamaIndex开源的一个 LLM 应用程序的数据框架。 LlamaIndex 0.11.6及之前版本存在代码问题漏洞,该漏洞源于BGEM3Index.load_from_disk函数使用pickle.load反序列化用户提供的文件且未经验证,可能导致任意代码执行。

CVSS 8.4 · High EPSS 0.33% · P24

Possible ATT&CK Techniques 1 AI

T1203 · Exploitation for Client Execution

Affected Version Matrix 1

VendorProduct Version RangeStatus
run-llama llama_index ≤ 0.11.6 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-14021

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
LlamaIndex <= 0.11.6 BGEM3Index Unsafe Deserialization
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
可信数据的反序列化
Source: CVE Program / CVE List V5
Vulnerability Title
LlamaIndex 代码问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
LlamaIndex是LlamaIndex开源的一个 LLM 应用程序的数据框架。 LlamaIndex 0.11.6及之前版本存在代码问题漏洞,该漏洞源于BGEM3Index.load_from_disk函数使用pickle.load反序列化用户提供的文件且未经验证,可能导致任意代码执行。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
run-llama llama_index 0 ~ 0.11.6 -

II. Public POCs for CVE-2024-14021

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-14021

请登录查看更多情报信息。

Vendor Advisories for CVE-2024-14021 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2024-14021

No comments yet


Leave a comment