~ / search / GHSA-f73w-4m7g-ch9x

GHSA-f73w-4m7g-ch9x

Langchain vulnerable to arbitrary code execution via the evaluate function in the numexpr library

Source: GitHub Advisory Database (reviewed) Critical CVE-2023-39631

Packages

EcosystemPackageAffectedFixed in
PyPI langchain < 0.0.308 0.0.308
PyPI numexpr < 2.8.5 2.8.5

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.