Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-4181

8.8 · HIGH
Published May 16, 2024 llamaindex CWE-94 EPSS 2.12% (81th pctl)

Overview

CVE-2024-4181 is a high-severity vulnerability affecting llamaindex llamaindex. It was published on May 16, 2024 and has a CVSS 3.0 base score of 8.8 (HIGH).

This vulnerability has a CVSS 3.0 base score of 8.8, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

A command injection vulnerability exists in the RunGptLLM class of the llama_index library, version 0.9.47, used by the RunGpt framework from JinaAI to connect to Language Learning Models (LLMs). The vulnerability arises from the improper use of the eval function, allowing a malicious or compromised LLM hosting provider to execute arbitrary commands on the client's machine. This issue was fixed in version 0.10.13. The exploitation of this vulnerability could lead to a hosting provider gaining full control over client machines.

Remediation

Check the references section for vendor advisories and patches from llamaindex. Update llamaindex to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
llamaindex llamaindex >= 0.9.47, < 0.10.13 Affected

Frequently Asked Questions

What is CVE-2024-4181?

CVE-2024-4181 is a high-severity vulnerability affecting llamaindex llamaindex. It was published on May 16, 2024 and has a CVSS 3.0 base score of 8.8 (HIGH).

How severe is CVE-2024-4181?

This vulnerability has a CVSS 3.0 base score of 8.8, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2024-4181?

Check the references section for vendor advisories and patches from llamaindex. Update llamaindex to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-4181?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-4181 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.