REDHAT-BUG-2431865: High severity vllm vulnerability
vLLM is an inference and serving engine for large language models (LLMs). Starting in version 0.10.1 and prior to version 0.14.0, vLLM loads Hugging Face automap dynamic modules during model resolution without gating on trustremotecode, allowing attacker-controlled Python code in a model repo/path to execute at server startup. An attacker who can influence the model repo/path (local directory or remote Hugging Face repo) can achieve arbitrary code execution on the vLLM host during model load. This happens before any request handling and does not require API access. Version 0.14.0 fixes the issue.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
vLLMto a version that resolves this vulnerability.Fixed in 0.14.0
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2431865?
The severity of REDHAT-BUG-2431865 is categorized as high, with a severity score of 7.
How do I fix REDHAT-BUG-2431865?
To fix REDHAT-BUG-2431865, upgrade vLLM to version 0.14.0 or later.
What vulnerabilities are present in versions of vLLM affected by REDHAT-BUG-2431865?
Versions of vLLM from 0.10.1 to before 0.14.0 are susceptible to REDHAT-BUG-2431865 due to unsafe loading of dynamic modules.
What risks does REDHAT-BUG-2431865 pose to my application?
REDHAT-BUG-2431865 poses a risk of allowing attacker-controlled Python code to execute, which could lead to unauthorized actions or data breaches.
Is there any workaround for REDHAT-BUG-2431865?
No specific workarounds are recommended; updating to a secure version is the best approach.