high7.5
CVE-2023-36189
langchain SQL Injection vulnerability
Impact
SQL injection vulnerability in langchain allows a remote attacker to obtain sensitive information via the SQLDatabaseChain component.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | langchain | >= 0, < 0.0.247 | 0.0.247 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Langchain | Langchain | Version 0.0.64 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://gist.github.com/rharang/9c58d39db8c01db5b7c888e467c0533f
- https://github.com/hwchase17/langchain/issues/5923
- https://github.com/hwchase17/langchain/pull/6051
- https://github.com/langchain-ai/langchain/issues/5923#issuecomment-1696053841
- https://github.com/advisories/GHSA-7q94-qpjr-xpgm
- https://nvd.nist.gov/vuln/detail/CVE-2023-36189
- https://github.com/pypa/advisory-database/tree/main/vulns/langchain/PYSEC-2023-110.yaml
- https://github.com/langchain-ai/langchain/issues/5923
- https://github.com/langchain-ai/langchain/pull/8425
- https://github.com/langchain-ai/langchain/commit/fab24457bcf8ede882abd11419769c92bc4e7751