CRITICAL 9.8 PyPI
langchain Code Injection vulnerability
GHSA-gwqq-6vq7-5j86 · CVE-2023-36095 · PYSEC-2023-138
Published · Modified
Description
An issue in Harrison Chase langchain allows an attacker to execute arbitrary code via the PALChain,from_math_prompt(llm).run in the python exec method.
References
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2023-36095
- WEB https://github.com/langchain-ai/langchain/issues/5872
- WEB https://github.com/langchain-ai/langchain/pull/6003
- WEB https://github.com/langchain-ai/langchain/pull/7870
- WEB https://github.com/langchain-ai/langchain/commit/8ba9835b925473655914f63822775679e03ea137
- WEB https://github.com/langchain-ai/langchain/commit/e294ba475a355feb95003ed8f1a2b99942509a9e
- WEB https://github.com/hwchase17/langchain
- PACKAGE https://github.com/langchain-ai/langchain
- WEB https://github.com/langchain-ai/langchain/commits/v0.0.236?after=4d8b48bdb3f17c764c5c2e3c7140071603869e74+34&branch=v0.0.236&qualified_name=refs%2Ftags%2Fv0.0.236
- WEB https://github.com/pypa/advisory-database/tree/main/vulns/langchain/PYSEC-2023-138.yaml
- WEB http://langchain.com
Ready to move
Start Securing
Free, no credit card | First findings in minutes