ghsa-45pg-36p6-83v9
Vulnerability from github
Published
2024-10-29 15:32
Modified
2024-11-12 19:57
Severity ?
4.9 (Medium) - CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
2.1 (Low) - 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
2.1 (Low) - 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
Summary
Langchain SQL Injection vulnerability
Details
A vulnerability in the GraphCypherQAChain class of langchain-ai/langchain version 0.2.5 allows for SQL injection through prompt injection. This vulnerability can lead to 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.
{ "affected": [ { "package": { "ecosystem": "PyPI", "name": "langchain-community" }, "ranges": [ { "events": [ { "introduced": "0.2.0" }, { "fixed": "0.2.19" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "PyPI", "name": "langchain" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "0.2.0" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2024-8309" ], "database_specific": { "cwe_ids": [ "CWE-74", "CWE-89" ], "github_reviewed": true, "github_reviewed_at": "2024-10-29T19:54:15Z", "nvd_published_at": "2024-10-29T13:15:10Z", "severity": "LOW" }, "details": "A vulnerability in the GraphCypherQAChain class of langchain-ai/langchain version 0.2.5 allows for SQL injection through prompt injection. This vulnerability can lead to 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.", "id": "GHSA-45pg-36p6-83v9", "modified": "2024-11-12T19:57:59Z", "published": "2024-10-29T15:32:05Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-8309" }, { "type": "WEB", "url": "https://github.com/langchain-ai/langchain/commit/64c317eba05fbac0c6a6fc5aa192bc0d7130972e" }, { "type": "WEB", "url": "https://github.com/langchain-ai/langchain/commit/c2a3021bb0c5f54649d380b42a0684ca5778c255" }, { "type": "PACKAGE", "url": "https://github.com/langchain-ai/langchain" }, { "type": "WEB", "url": "https://github.com/pypa/advisory-database/tree/main/vulns/langchain/PYSEC-2024-115.yaml" }, { "type": "WEB", "url": "https://huntr.com/bounties/8f4ad910-7fdc-4089-8f0a-b5df5f32e7c5" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L", "type": "CVSS_V3" }, { "score": "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", "type": "CVSS_V4" } ], "summary": "Langchain SQL Injection vulnerability" }
Loading...
Loading...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.