Advisory

PYSEC-2024-324

Also known as: CVE-2024-4181, GHSA-pw38-xv9x-h8ch, PYSEC-2026-1565

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 8.8, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2024-05-16 09:15 UTC
Modified
2026-07-13 07:26 UTC

Affected packages and fixes

llama-index

PyPI · All systems

Affected

  • introduced 0.9.47, fixed 0.10.13 (ecosystem)

Fixed versions

0.10.13

Fix

  • Fixed version 0.10.13
    pip install --upgrade llama-index==0.10.13

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences