CVE-2023-36258
langchain arbitrary code execution vulnerability
Sévérité par source
Le label propre à Trivy est CRITICAL. Critique selon NVD, GHSA.
Description
An issue in LangChain before 0.0.236 allows an attacker to execute arbitrary code because Python code with os.system, exec, or eval can be used.
Paquets affectés et versions corrigées
| Source | Paquet | Corrigé en |
|---|---|---|
| pip::GitHub Security Advisory pip | langchain | 0.0.247 |
Références
- https://github.com/hwchase17/langchain
- https://github.com/hwchase17/langchain/issues/5872
- https://github.com/langchain-ai/langchain/commit/8ba9835b925473655914f63822775679e03ea137
- https://github.com/langchain-ai/langchain/commit/e294ba475a355feb95003ed8f1a2b99942509a9e
- https://github.com/langchain-ai/langchain/commit/fab24457bcf8ede882abd11419769c92bc4e7751
- https://github.com/langchain-ai/langchain/issues/5872
- https://github.com/langchain-ai/langchain/issues/5872#issuecomment-1697785619
- https://github.com/langchain-ai/langchain/pull/6003