CVE-2024-8309
Langchain SQL Injection vulnerability
9.8
CRITICAL
CVSS 3.1
EPSS 13.8%
描述
A vulnerability in the GraphCypherQAChain class of langchain-ai/langchain version 0.2.5 allows for SQL injection through prompt injection. This vulnerability can lead to unauthorized data manipulation, data exfiltration, denial of service (DoS) by deleting all data, breaches in multi-tenant security environments, and data integrity issues. Attackers can create, update, or delete nodes and relationships without proper authorization, extract sensitive data, disrupt services, access data across different tenants, and compromise the integrity of the database.
如何修補 CVE-2024-8309
要修補 CVE-2024-8309,請將受影響套件升級到下列已修補版本。
- —升級至 c2a3021bb0c5f54649d380b42a0684ca5778c255 或更新版本
- —升級至 0.3.0 或更新版本
CVE-2024-8309 正在被利用嗎?
中等 — EPSS 為 13.8%,可持續追蹤但非最高優先。
受影響套件(2)
- from 0, < c2a3021bb0c5f54649d380b42a0684ca5778c255 | from 0, < 0.2.0
- >= 0.2.0, < 0.3.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |