CVE-2024-27444criticalCode execution2024-02-26
CVE-2024-27444: LangChain Experimental vulnerable to arbitrary code execution
langchain_experimental (aka LangChain Experimental) before 0.0.52, part of LangChain before 0.1.8, allows an attacker to bypass the CVE-2023-44467 fix and execute arbitrary code via the __import__, __subclasses__, __builtins__, __globals__, __getattribute__, __bases__, __mro__, or __base__…
What it is
langchain_experimental (aka LangChain Experimental) before 0.0.52, part of LangChain before 0.1.8, allows an attacker to bypass the CVE-2023-44467 fix and execute arbitrary code via the __import__, __subclasses__, __builtins__, __globals__, __getattribute__, __bases__, __mro__, or __base__ attribute in Python code. These are not prohibited by pal_chain/base.py.
How to check
- Affected: langchain-experimental (pip) < 0.0.52.
- Compare your installed version with the range above (command below).
How to fix
- Upgrade langchain-experimental to 0.0.52 or later.
pip show langchain-experimental | grep VersionSources
More advisories for this tool