CVE-2023-39631
Langchain vulnerable to arbitrary code execution via the evaluate function in the numexpr library
9.8
CRITICAL
CVSS 3.1
EPSS 1.8%
Description
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.
How to fix CVE-2023-39631
To remediate CVE-2023-39631, upgrade the affected package to a fixed version below.
- PyPI/langchain—upgrade to 0.0.308 or later
- —upgrade to 0.0.308 or later
- —upgrade to 2.8.5 or later
- —upgrade to 2.8.5 or later
Is CVE-2023-39631 being exploited?
Low — EPSS is 1.8%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 0.0.308
- from 0, < 0.0.308
- from 0, < 2.8.5
- from 0, < 2.8.5
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |