A vulnerability in the GraphCypherQAChain class of langchain-ai/langchainjs versions 0.2.5 and all versions with this class allows for prompt injection, leading to SQL injection. This vulnerability permits 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.
History

Thu, 31 Oct 2024 19:00:00 +0000

Type Values Removed Values Added
First Time appeared Langchain
Langchain langchain
CPEs cpe:2.3:a:langchain:langchain:*:*:*:*:*:*:*:*
Vendors & Products Langchain
Langchain langchain
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Tue, 29 Oct 2024 19:15:00 +0000

Type Values Removed Values Added
First Time appeared Langchain-ai
Langchain-ai langchainjs
CPEs cpe:2.3:a:langchain-ai:langchainjs:*:*:*:*:*:*:*:*
Vendors & Products Langchain-ai
Langchain-ai langchainjs
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 29 Oct 2024 13:15:00 +0000

Type Values Removed Values Added
Description A vulnerability in the GraphCypherQAChain class of langchain-ai/langchainjs versions 0.2.5 and all versions with this class allows for prompt injection, leading to SQL injection. This vulnerability permits 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.
Title Prompt Injection in langchain-ai/langchainjs Leading to SQL Injection
Weaknesses CWE-89
References
Metrics cvssV3_0

{'score': 4.9, 'vector': 'CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: @huntr_ai

Published: 2024-10-29T12:50:05.375Z

Updated: 2024-10-29T18:13:22.249Z

Reserved: 2024-07-23T18:41:58.788Z

Link: CVE-2024-7042

cve-icon Vulnrichment

Updated: 2024-10-29T18:12:58.579Z

cve-icon NVD

Status : Analyzed

Published: 2024-10-29T13:15:08.883

Modified: 2024-10-31T18:36:30.140

Link: CVE-2024-7042

cve-icon Redhat

No data.