GHSA-6m59-8fmv-m5f9

Suggest an improvement
Source
https://github.com/advisories/GHSA-6m59-8fmv-m5f9
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/10/GHSA-6m59-8fmv-m5f9/GHSA-6m59-8fmv-m5f9.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6m59-8fmv-m5f9
Aliases
Related
Published
2024-10-29T15:32:05Z
Modified
2024-11-01T13:16:11Z
Severity
  • 4.9 (Medium) CVSS_V3 - CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
  • 2.1 (Low) CVSS_V4 - 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 CVSS Calculator
Summary
@langchain/community SQL Injection vulnerability
Details

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.

Database specific
{
    "nvd_published_at": "2024-10-29T13:15:08Z",
    "cwe_ids": [
        "CWE-89"
    ],
    "severity": "LOW",
    "github_reviewed": true,
    "github_reviewed_at": "2024-10-29T19:38:29Z"
}
References

Affected packages

npm / @langchain/community

Package

Name
@langchain/community
View open source insights on deps.dev
Purl
pkg:npm/%40langchain/community

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.3.3