SQL Injection Vulnerability in LangChain AI Product
CVE-2024-8309

9.8CRITICAL

Key Information:

Vendor
CVE Published:
29 October 2024

What is CVE-2024-8309?

A vulnerability exists within the GraphCypherQAChain class of the LangChain product version 0.2.5, allowing attackers to perform SQL injection through prompt injection techniques. Exploiting this flaw can lead to unauthorized manipulation of data, including creating, updating, or deleting nodes and relationships without proper permissions. Furthermore, this vulnerability can result in sensitive data being exfiltrated, services being disrupted leading to potential denial of service (DoS), breaches in multi-tenant security environments, and overall compromises in data integrity. The risk of allowing unauthorized access across different tenants can have significant repercussions for database security and operational functionality.

Affected Version(s)

langchain-ai/langchain < 0.3.0

References

CVSS V3.1

Score:
9.8
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

CVSS V3.0

Score:
4.9
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Local
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

.
CVE-2024-8309 : SQL Injection Vulnerability in LangChain AI Product