critical9.8
CVE-2023-44467
langchain_experimental vulnerable to arbitrary code execution via PALChain in the python exec method
Impact
langchain_experimental (aka LangChain Experimental) in LangChain before 0.0.306 allows an attacker to bypass the CVE-2023-36258 fix and execute arbitrary code via __import__ in Python code, which is not prohibited by pal_chain/base.py.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | langchain-experimental | <= 0.0.14 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Langchain | Langchain Experimental | Version 0.0.14 |
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/langchain-ai/langchain/commit/4c97a10bd0d9385cfee234a63b5bd826a295e483
- https://github.com/advisories/GHSA-gjjr-63x4-v8cq
- https://nvd.nist.gov/vuln/detail/CVE-2023-44467
- https://github.com/langchain-ai/langchain/pull/11233
- https://github.com/pypa/advisory-database/tree/main/vulns/langchain-experimental/PYSEC-2023-194.yaml
- https://pypi.org/project/langchain-experimental/0.0.14