CVE-2024-8309

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:langchain:langchain:0.2.5:*:*:*:*:*:*:*

History

No history.

Information

Published : 2024-10-29 13:15

Updated : 2024-11-01 19:19


NVD link : CVE-2024-8309

Mitre link : CVE-2024-8309

CVE.ORG link : CVE-2024-8309


JSON object : View

Products Affected

langchain

  • langchain
CWE
CWE-89

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

CWE-74

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')