SQL Injection Affecting langchain package, versions <0.3.3
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JS-LANGCHAIN-8310492
- published 30 Oct 2024
- disclosed 29 Oct 2024
- credit Liad Levy
Introduced: 29 Oct 2024
New CVE-2024-7042 Open this link in a new tabHow to fix?
Upgrade langchain
to version 0.3.3 or higher.
Overview
langchain is a Typescript bindings for langchain
Affected versions of this package are vulnerable to SQL Injection via the default configuration of the GraphCypherQAChain
class, by manipulating entities in the graph database through prompt injection.