CVE-2024-4181 HIGH

CVE-2024-4181: Command Injection in run-llama/llama_index

Vendor Run-Llama
Product run-llama/llama_index
Weakness CWE-94 · Code injection
Published May 16, 2024
Last update August 1, 2024

CVSS base score

8.8/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality High
Integrity High

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

May 16, 2024 CVE published
August 1, 2024 Record updated