First published: Fri Sep 01 2023(Updated: )
An issue in LanChain-ai Langchain v.0.0.245 allows a remote attacker to execute arbitrary code via the evaluate function in the numexpr library.
Credit: cve@mitre.org cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
langchain langchain | =0.0.245 | |
pip/langchain | <0.0.308 | 0.0.308 |
pip/numexpr | <2.8.5 | 2.8.5 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2023-39631 is an issue in LangChain-ai LangChain v.0.0.245 that allows a remote attacker to execute arbitrary code via the evaluate function in the numexpr library.
The severity of CVE-2023-39631 is critical with a CVSS score of 9.8.
To fix CVE-2023-39631, you need to update LangChain-ai LangChain to version v.0.0.308.
The numexpr library is an optional dependency for LangChain-ai LangChain.
You can find more information about CVE-2023-39631 at the following references: [GitHub Issue](https://github.com/langchain-ai/langchain/issues/8363), [NVD](https://nvd.nist.gov/vuln/detail/CVE-2023-39631)