PyPI: langchain-experimental
CVE-2024-38459
Safety vulnerability ID: SFTY-20240616-24351
Safety legacy ID: pyup.io-71652
Langchain-experimental (aka LangChain Experimental) before 0.0.61 provides Python REPL access without an opt-in step. NOTE: This issue exists because of an incomplete fix for CVE-2024-27444.
Overview
langchain_experimental Code Execution via Python REPL access
Advisory
Langchain-experimental (aka LangChain Experimental) before 0.0.61 provides Python REPL access without an opt-in step. NOTE: This issue exists because of an incomplete fix for CVE-2024-27444.
How to Fix
Mitigation and Workarounds
---
Vulnerable Functions
Functions linked to known vulnerabilities.
References
- https://getsafety.com/vulnerabilities/SFTY-20240616-24351/CVE-2024-38459
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-38459
- https://github.com/advisories/GHSA-wmvm-9vqv-5qpp
- https://github.com/langchain-ai/langchain/commit/ce0b0f22a175139df8f41cdcfb4d2af411112009
- https://inspector.pypi.io/project/langchain-experimental/0.0.61/packages/02/1e/437941420dbf5230344da376961ad4497ae91bea1f7ce46ee389310529e3/langchain_experimental-0.0.61.tar.gz/langchain_experimental-0.0.61/langchain_experimental/pal_chain/base.py#line.20
- https://nvd.nist.gov/vuln/detail/CVE-2024-38459
- https://github.com/langchain-ai/langchain/pull/22860
- https://github.com/langchain-ai/langchain/commit/ce0b0f22a175139df8f41cdcfb4d2af411112009
- https://github.com/langchain-ai/langchain/compare/langchain-experimental==0.0.60...langchain-experimental==0.0.61
- https://github.com/pypa/advisory-database/tree/main/vulns/langchain-experimental/PYSEC-2024-53.yaml
- https://github.com/advisories/GHSA-wmvm-9vqv-5qpp
Verified by Safety
Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.
Learn more
