GitHub Advisoryadvisory · PyPI
GHSA-7q94-qpjr-xpgm langchain SQL Injection vulnerability
HIGH
Official page ↗
- Aliases
- CVE-2023-36189
- Ecosystem
- PyPI
- Packages
- langchain
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-89
- Reviewed
- 2023-07-06
Affected packages
• PyPI langchain: < 0.0.247 → fixed in 0.0.247
Description
SQL injection vulnerability in langchain allows a remote attacker to obtain sensitive information via the SQLDatabaseChain component.
Related
Alias · CVE (1)
- CVE-2023-36189 SQL injection vulnerability in langchain before v0.0.247 allows a remote attacker to obtain sensitive information via the SQLDatabaseChain… vulnerability
Weakness · CWE (1)
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-36189 advisory
- https://github.com/hwchase17/langchain/issues/5923 web
- https://github.com/langchain-ai/langchain/issues/5923 web
- https://github.com/langchain-ai/langchain/issues/5923#issuecomment-1696053841 web
- https://github.com/hwchase17/langchain/pull/6051 web
- https://github.com/langchain-ai/langchain/pull/8425 web
- https://github.com/langchain-ai/langchain/commit/fab24457bcf8ede882abd11419769c92bc4e7751 web
- https://gist.github.com/rharang/9c58d39db8c01db5b7c888e467c0533f web
- https://github.com/langchain-ai/langchain package
- https://github.com/pypa/advisory-database/tree/main/vulns/langchain/PYSEC-2023-110.yaml web