CVE-2024-45201
Python vulnerability analysis and mitigation

Overview

An issue was discovered in llamaindex before version 0.10.38. The vulnerability exists in download/integration.py where an exec call for import {clsname} introduces a potential code injection risk. The vulnerability was disclosed on August 22, 2024, and affects all versions of llama_index prior to 0.10.38 (NVD).

Technical details

The vulnerability is classified as a Code Injection vulnerability (CWE-94). The CVSS v3.1 base score is 8.8 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. The issue stems from an unsafe exec call in the download/integration.py file that could allow for arbitrary code execution through the cls_name parameter (NVD).

Impact

The vulnerability could allow an attacker with low privileges to execute arbitrary code on the affected system, potentially leading to complete system compromise. The high CVSS score indicates severe potential impacts on confidentiality, integrity, and availability of the system (NVD).

Mitigation and workarounds

The vulnerability has been fixed in llamaindex version 0.10.38. Users are strongly advised to upgrade to this version or later. The fix involved removing the exec call from the downloadintegration functionality (Github PR).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management