Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-6m59-8fmv-m5f9: @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.

ghsa
#sql#vulnerability#dos#nodejs#js#git#auth
  1. GitHub Advisory Database
  2. GitHub Reviewed
  3. CVE-2024-7042

@langchain/community SQL Injection vulnerability

Low severity GitHub Reviewed Published Oct 29, 2024 to the GitHub Advisory Database • Updated Oct 29, 2024

Package

npm @langchain/community (npm)

Affected versions

< 0.3.3

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.

References

  • https://nvd.nist.gov/vuln/detail/CVE-2024-7042
  • langchain-ai/langchainjs@615b9d9
  • https://huntr.com/bounties/b612defb-1104-4fff-9fef-001ab07c7b2d

Published to the GitHub Advisory Database

Oct 29, 2024

Last updated

Oct 29, 2024

ghsa: Latest News

GHSA-jh6x-7xfg-9cq2: Searching Opencast may cause a denial of service