CVE-2023-39662
llama-index vulnerable to arbitrary code execution
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
Description
An issue in llama_index v.0.7.13 and before allows a remote attacker to execute arbitrary code via the `exec` parameter in PandasQueryEngine function.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| pip::GitHub Security Advisory pip | llama-index | 0.9.14 |
References
- https://github.com/jerryjliu/llama_index
- https://github.com/jerryjliu/llama_index/issues/7054
- https://github.com/pypa/advisory-database/tree/main/vulns/llama-index/PYSEC-2023-148.yaml
- https://github.com/run-llama/llama_index/commit/9f3e50a803f519af9ab62e63d413441c43001d81
- https://github.com/run-llama/llama_index/commit/aa6726706476e0f957a8d57a5ca89e519e93bad7
- https://nvd.nist.gov/vuln/detail/CVE-2023-39662