CVE-2024-7042 – @langchain/community
Package
Manager: npm
Name: @langchain/community
Vulnerable Version: >=0 <0.3.3
Severity
Level: Low
CVSS v3.1: CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
EPSS: 0.00068 pctl0.2144
Details
@langchain/community SQL Injection vulnerability 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.
Metadata
Created: 2024-10-29T15:32:05Z
Modified: 2024-11-01T13:16:11Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/10/GHSA-6m59-8fmv-m5f9/GHSA-6m59-8fmv-m5f9.json
CWE IDs: ["CWE-89"]
Alternative ID: GHSA-6m59-8fmv-m5f9
Finding: F106
Auto approve: 1