目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2024-21513— LangChain 安全漏洞

一分钟漏洞结论

影响对象
n/a langchain-experimental
利用判断
存在公开或 AI PoC,应优先验证
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

LangChain是美国LangChain公司的通过可组合性使用 LLM 构建应用程序。 LangChain 0.0.15版本至0.0.21之前版本存在安全漏洞,该漏洞源于容易受到任意代码执行攻击,攻击者可以利用此漏洞执行任意Python代码。

CVSS 8.5 · High EPSS 1.89% · P79
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2024-21513 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
N/A
来源: CVE Program / CVE List V5
Vulnerability Description
Versions of the package langchain-experimental from 0.0.15 and before 0.0.21 are vulnerable to Arbitrary Code Execution when retrieving values from the database, the code will attempt to call 'eval' on all values. An attacker can exploit this vulnerability and execute arbitrary python code if they can control the input prompt and the server is configured with VectorSQLDatabaseChain. **Notes:** Impact on the Confidentiality, Integrity and Availability of the vulnerable component: Confidentiality: Code execution happens within the impacted component, in this case langchain-experimental, so all resources are necessarily accessible. Integrity: There is nothing protected by the impacted component inherently. Although anything returned from the component counts as 'information' for which the trustworthiness can be compromised. Availability: The loss of availability isn't caused by the attack itself, but it happens as a result during the attacker's post-exploitation steps. Impact on the Confidentiality, Integrity and Availability of the subsequent system: As a legitimate low-privileged user of the package (PR:L) the attacker does not have more access to data owned by the package as a result of this vulnerability than they did with normal usage (e.g. can query the DB). The unintended action that one can perform by breaking out of the app environment and exfiltrating files, making remote connections etc. happens during the post exploitation phase in the subsequent system - in this case, the OS. AT:P: An attacker needs to be able to influence the input prompt, whilst the server is configured with the VectorSQLDatabaseChain plugin.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
来源: CVE Program / CVE List V5
Vulnerability Title
LangChain 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
LangChain是美国LangChain公司的通过可组合性使用 LLM 构建应用程序。 LangChain 0.0.15版本至0.0.21之前版本存在安全漏洞,该漏洞源于容易受到任意代码执行攻击,攻击者可以利用此漏洞执行任意Python代码。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
- langchain-experimental 0.0.15 ~ 0.0.21 -

二、漏洞 CVE-2024-21513 的公开POC

# POC 描述 源链接 神龙链接
1 None https://github.com/SavageSanta11/Reproduce-CVE-2024-21513 POC详情
2 PoC for CVE-2024-21513 https://github.com/nskath/CVE-2024-21513 POC详情
AI 生成 POC 高级
Qwen3.6-35B-A3B · 5354 chars
Pro+ 专属包含:
漏洞复现靶场录像(真实沙箱构建 + 触发,独家)
漏洞原理深度分析
触发条件与影响面
完整可执行 POC 代码
利用链与缓解建议
POC 打包下载
每月 100+ 条 AI 生成额度

三、漏洞 CVE-2024-21513 的情报信息

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

CVE-2024-21513 补丁与修复 (1)

CVE-2024-21513 厂商安全公告 (1)

CVE-2024-21513 其他参考 (1)

同批安全公告 · n/a · 2024-07-15 · 共 16 条

CVE-2024-36432 7.5 HIGH 多款Supermicro产品 安全漏洞
CVE-2024-36433 7.5 HIGH 多款Supermicro产品 安全漏洞
CVE-2024-36434 7.5 HIGH 多款Supermicro产品 安全漏洞
CVE-2024-40554 Mini-Tmall 安全漏洞
CVE-2024-40560 Mini-Tmall 安全漏洞
CVE-2024-40553 Mini-Tmall 安全漏洞
CVE-2024-40555 Mini-Tmall 安全漏洞
CVE-2024-31946 Stormshield Network Security 安全漏洞
CVE-2024-37016 Mengshen Wireless Door Alarm M70 安全漏洞
CVE-2024-37386 Stormshield Network Security 安全漏洞
CVE-2024-40414 Tenda AX1806 安全漏洞
CVE-2024-40415 Tenda AX1806 安全漏洞
CVE-2024-40416 Tenda AX1806 安全漏洞
CVE-2024-40524 XMind2TestCase 安全漏洞
CVE-2024-36438 eLinkSmart Hidden Smart Cabinet Lock 安全漏洞

IV. Related Vulnerabilities