langchain
Affected
- introduced
0, fixed0.0.308(ecosystem)
Fixed versions
0.0.308
Fix
- Fixed version
0.0.308pip install --upgrade langchain==0.0.308
Advisory
Also known as: CVE-2023-39631, PYSEC-2023-162, PYSEC-2023-163
Langchain vulnerable to arbitrary code execution via the evaluate function in the numexpr library
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.
Critical Basis: The source's own band: CRITICAL
0, fixed 0.0.308 (ecosystem)0.0.308
0.0.308pip install --upgrade langchain==0.0.3080, fixed 2.8.5 (ecosystem)2.8.5
2.8.5pip install --upgrade numexpr==2.8.5Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0