critical9.8
CVE-2023-36188
langchain vulnerable to arbitrary code execution
Impact
An issue in langchain allows a remote attacker to execute arbitrary code via the PALChain parameter in the Python exec method.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | langchain | < 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://github.com/hwchase17/langchain/issues/5872
- https://github.com/hwchase17/langchain/pull/6003
- https://github.com/advisories/GHSA-57fc-8q82-gfp3
- https://nvd.nist.gov/vuln/detail/CVE-2023-36188
- https://github.com/pypa/advisory-database/tree/main/vulns/langchain/PYSEC-2023-109.yaml
- https://github.com/langchain-ai/langchain/commit/e294ba475a355feb95003ed8f1a2b99942509a9e
- https://github.com/langchain-ai/langchain/issues/5872
- https://github.com/langchain-ai/langchain/pull/8425
- https://github.com/langchain-ai/langchain/pull/6003