CVE-2023-39631
CRITICAL9.8EPSS 1.8%Langchain vulnerable to arbitrary code execution via the evaluate function in the numexpr library
發布日:2023/9/1修改日:2025/2/20
描述
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. Patches: Released in v.0.0.308. numexpr dependency is optional for langchain.
受影響套件(4)
- PyPI/langchainfrom 0, < 0.0.308
- PyPI/langchainfrom 0, < 0.0.308
- PyPI/numexprfrom 0, < 2.8.5
- PyPI/numexprfrom 0, < 2.8.5
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| 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 |
參考連結(9)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-39631
- PATCHhttps://github.com/langchain-ai/langchain
- WEBhttps://github.com/langchain-ai/langchain/issues/8363
- WEBhttps://github.com/langchain-ai/langchain/pull/11302
- WEBhttps://github.com/langchain-ai/langchain/releases/tag/v0.0.308
- WEBhttps://github.com/pydata/numexpr/commit/4b2d89cf14e75030d27629925b9998e1e91d23c7
- WEBhttps://github.com/pydata/numexpr/issues/442
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/langchain/PYSEC-2023-162.yaml
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/numexpr/PYSEC-2023-163.yaml