CVE-2023-34541
Langchain vulnerable to arbitrary code execution
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
Description
Langchain 0.0.171 is vulnerable to Arbitrary code execution in load_prompt.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| pip::GitHub Security Advisory pip | langchain | 0.0.247 |
References
- https://github.com/hwchase17/langchain/issues/4849
- https://github.com/langchain-ai/langchain
- https://github.com/langchain-ai/langchain/commit/fab24457bcf8ede882abd11419769c92bc4e7751
- https://github.com/langchain-ai/langchain/issues/4849
- https://github.com/langchain-ai/langchain/issues/4849#issuecomment-1697896569
- https://github.com/langchain-ai/langchain/pull/8425
- https://github.com/pypa/advisory-database/tree/main/vulns/langchain/PYSEC-2023-92.yaml
- https://nvd.nist.gov/vuln/detail/CVE-2023-34541