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-3271

9.8 · CRITICAL
Published Apr 16, 2024 llamaindex CWE-77 EPSS 2.89% (86th pctl)

Overview

CVE-2024-3271 is a critical-severity vulnerability affecting llamaindex llamaindex. It was published on April 16, 2024 and has a CVSS 3.0 base score of 9.8 (CRITICAL).

This vulnerability has a CVSS 3.0 base score of 9.8, rated CRITICAL. 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 run-llama/llama_index repository, specifically within the safe_eval function. Attackers can bypass the intended security mechanism, which checks for the presence of underscores in code generated by LLM, to execute arbitrary code. This is achieved by crafting input that does not contain an underscore but still results in the execution of OS commands. The vulnerability allows for remote code execution (RCE) on the server hosting the application.

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.10.6, < 0.10.26 Affected

Frequently Asked Questions

What is CVE-2024-3271?

CVE-2024-3271 is a critical-severity vulnerability affecting llamaindex llamaindex. It was published on April 16, 2024 and has a CVSS 3.0 base score of 9.8 (CRITICAL).

How severe is CVE-2024-3271?

This vulnerability has a CVSS 3.0 base score of 9.8, rated CRITICAL. 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-3271?

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-3271?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-3271 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.