CVE-2023-39631: Code Injection
Published Sep 1, 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.
Affected Software
3 affected componentsFixes available
pip/numexpr<2.8.5
2.8.5
pip/langchain<0.0.308
0.0.308
Langchain Langchain=0.0.245
Remediation
Patch Available
Patch Available
Event History
Sep 1, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Advisory Published
06:30 PM
Frequently Asked Questions
1
What is CVE-2023-39631?
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.
2
What is the severity of CVE-2023-39631?
The severity of CVE-2023-39631 is critical with a CVSS score of 9.8.
3
How do I fix CVE-2023-39631?
To fix CVE-2023-39631, you need to update LangChain-ai LangChain to version v.0.0.308.
4
Is numexpr library required for LangChain-ai LangChain?
The numexpr library is an optional dependency for LangChain-ai LangChain.
5
Where can I find more information about CVE-2023-39631?
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)