PT-2023-27040 · Langchain+2 · Langchain+2
Corgeman
·
Published
2023-01-09
·
Updated
2026-05-05
·
CVE-2023-39631
CVSS v2.0
10
Critical
| Vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
LangChain versions 0.0.245 through 0.0.307
Description
The issue is related to incorrect code generation control in the numexpr library of the LangChain framework, allowing a remote attacker to execute arbitrary code via the
evaluate function. This can lead to exploitation by a remote attacker.Recommendations
For versions 0.0.245 through 0.0.307, update to version 0.0.308 or later, which includes a patch for the numexpr dependency issue. As a temporary workaround, consider disabling the
evaluate function in the numexpr library until a patch is applied.Exploit
Fix
Code Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Langchain
Red Os
Numexpr