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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-5998— Deserialization of Untrusted Data in langchain-ai/langchain

Quick assessment

Affected
langchain-ai langchain-ai/langchain
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.

LangChain是LangChain开源的一个本地托管聊天机器人的实现,专门致力于通过LangChain文档回答问题。 LangChain存在代码问题漏洞,该漏洞源于FAISS.deserialize_from_bytes函数对不可信数据的pickle反序列化处理,这可能导致通过os.system函数执行任意命令。

AI Predicted 9.8 Difficulty: Easy EPSS 0.36% · P28

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-5998

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
Deserialization of Untrusted Data in langchain-ai/langchain
Source: CVE Program / CVE List V5
Vulnerability Description
A vulnerability in the FAISS.deserialize_from_bytes function of langchain-ai/langchain allows for pickle deserialization of untrusted data. This can lead to the execution of arbitrary commands via the os.system function. The issue affects the latest version of the product.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
可信数据的反序列化
Source: CVE Program / CVE List V5
Vulnerability Title
LangChain 代码问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
LangChain是LangChain开源的一个本地托管聊天机器人的实现,专门致力于通过LangChain文档回答问题。 LangChain存在代码问题漏洞,该漏洞源于FAISS.deserialize_from_bytes函数对不可信数据的pickle反序列化处理,这可能导致通过os.system函数执行任意命令。
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
langchain-ai langchain-ai/langchain unspecified ~ 0.2.9 -

II. Public POCs for CVE-2024-5998

# 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-5998

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-5998

No comments yet


Leave a comment