Arbitrary Code Execution Affecting langchain-experimental package, versions [,0.0.52)
Threat Intelligence
EPSS
0.04% (11th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PYTHON-LANGCHAINEXPERIMENTAL-6347242
- published 1 Mar 2024
- disclosed 1 Mar 2024
- credit Unknown
Introduced: 1 Mar 2024
CVE-2024-27444 Open this link in a new tabHow to fix?
Upgrade langchain-experimental
to version 0.0.52 or higher.
Overview
langchain-experimental is a package that holds experimental LangChain code, intended for research and experimental uses.
Affected versions of this package are vulnerable to Arbitrary Code Execution.
via the __import__
, __subclasses__
, __builtins__
, __globals__
, __getattribute__
, __bases__
, __mro__
or __base__
attributes in Python code.
Note: Code is clearly documented as being risky and the correct mitigation strategy is by executing the code in a sandboxed environment.
References
CVSS Scores
version 3.1