
Cloud Vulnerability DB
A community-led vulnerabilities database
A critical vulnerability (CVE-2024-7042) was discovered in the GraphCypherQAChain class of langchain-ai/langchainjs versions 0.2.5 and all versions containing this class. The vulnerability allows for prompt injection that can lead to SQL injection attacks. This security issue was disclosed on October 29, 2024, and affects the LangChain JavaScript implementation (NVD).
The vulnerability exists in the GraphCypherQAChain class implementation and enables prompt injection attacks that can escalate to SQL injection. The severity of this vulnerability is rated as CRITICAL with a CVSS v3.1 base score of 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), indicating the highest level of severity with complete impact on confidentiality, integrity, and availability (NVD).
The vulnerability's impact is severe, allowing attackers to perform unauthorized data manipulation, data exfiltration, and execute denial of service (DoS) attacks by deleting all data. Additionally, it can lead to breaches in multi-tenant security environments and compromise data integrity. Attackers can create, update, or delete nodes and relationships without proper authorization, extract sensitive data, disrupt services, and access data across different tenants (NVD).
A patch has been released to address this vulnerability. Users should update their langchain-ai/langchainjs installations to a version that includes the security fix (GitHub Patch).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."