For your digest
llama-index, llama-index-llms-rungpt: RunGptLLM class in LlamaIndex has a command injection
It touches something Phylax follows. No evidence of use yet.
Does it affect what I run?
Checked in your browser. The version you type is not sent anywhere.
Who is affected
- llama-index (PyPI): every version, before 0.10.13
- llama-index-llms-rungpt (PyPI): every version, before 0.1.3
- llama-index (PyPI): from 0.9.47, before 0.10.13
- llama-index-llms-rungpt (PyPI): every version, before 0.1.3
The fix
llama-index (PyPI) fixed in 0.10.13
pippython -m pip install llama-index==0.10.13uvuv add llama-index==0.10.13poetrypoetry add llama-index@0.10.13Check what is installedpython -m pip show llama-indexPaste into Cursor, Lovable or Claude CodeUpgrade the PyPI dependency llama-index to 0.10.13 or the nearest later release, to fix CVE-2024-4181. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.llama-index-llms-rungpt (PyPI) fixed in 0.1.3
pippython -m pip install llama-index-llms-rungpt==0.1.3uvuv add llama-index-llms-rungpt==0.1.3poetrypoetry add llama-index-llms-rungpt@0.1.3Check what is installedpython -m pip show llama-index-llms-rungptPaste into Cursor, Lovable or Claude CodeUpgrade the PyPI dependency llama-index-llms-rungpt to 0.1.3 or the nearest later release, to fix CVE-2024-4181. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
Fix commands generated from the advisory's versions. No model wrote them.
In plain words
Brief pending: here are the facts and the fix. The explanation in plain words follows when it has been written and checked.
Evidence
No evidence that it is being used, or can be. It is listed because of what it affects.
Timeline
- First published here, as "For your digest".