CVE-2024-4181

Command Injection in run-llama/llama_index

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.

Category

8.8
CVSS
Severity: High
CVSS 3.0 •
EPSS 0.72% Top 30%
Affected: run-llama run-llama/llama_index
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-4181?
CVE-2024-4181 has been scored as a high severity vulnerability.
How to fix CVE-2024-4181?
To fix CVE-2024-4181, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-4181 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2024-4181 is being actively exploited. According to its EPSS score, there is a ~1% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-4181?
CVE-2024-4181 affects run-llama run-llama/llama_index.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.