CVE-2023-36095: langchain Code Injection vulnerability
(updated )
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
- github.com/advisories/GHSA-gwqq-6vq7-5j86
- github.com/hwchase17/langchain
- github.com/langchain-ai/langchain
- github.com/langchain-ai/langchain/commit/8ba9835b925473655914f63822775679e03ea137
- github.com/langchain-ai/langchain/commit/e294ba475a355feb95003ed8f1a2b99942509a9e
- github.com/langchain-ai/langchain/commits/v0.0.236?after=4d8b48bdb3f17c764c5c2e3c7140071603869e74+34&branch=v0.0.236&qualified_name=refs%2Ftags%2Fv0.0.236
- github.com/langchain-ai/langchain/issues/5872
- github.com/langchain-ai/langchain/pull/6003
- github.com/langchain-ai/langchain/pull/7870
- github.com/pypa/advisory-database/tree/main/vulns/langchain/PYSEC-2023-138.yaml
- nvd.nist.gov/vuln/detail/CVE-2023-36095
Detect and mitigate CVE-2023-36095 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →