REDHAT-BUG-2433624: SSRF
vLLM is an inference and serving engine for large language models (LLMs). Prior to version 0.14.1, a Server-Side Request Forgery (SSRF) vulnerability exists in the MediaConnector class within the vLLM project's multimodal feature set. The loadfromurl and loadfromurlasync methods obtain and process media from URLs provided by users, using different Python parsing libraries when restricting the target host. These two parsing libraries have different interpretations of backslashes, which allows the host name restriction to be bypassed. This allows an attacker to coerce the vLLM server into making arbitrary requests to internal network resources. This vulnerability is particularly critical in containerized environments like llm-d, where a compromised vLLM pod could be used to scan the internal network, interact with other pods, and potentially cause denial of service or access sensitive data. For example, an attacker could make the vLLM pod send malicious requests to an internal llm-d management endpoint, leading to system instability by falsely reporting metrics like the KV cache state. Version 0.14.1 contains a patch for 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.1
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2433624?
The severity of REDHAT-BUG-2433624 is classified as high with a score of 7.
What type of vulnerability is REDHAT-BUG-2433624?
REDHAT-BUG-2433624 is a Server-Side Request Forgery (SSRF) vulnerability.
How do I fix REDHAT-BUG-2433624?
To fix REDHAT-BUG-2433624, upgrade vLLM to version 0.14.1 or later.
Which software is affected by REDHAT-BUG-2433624?
The affected software for REDHAT-BUG-2433624 is vLLM.
What specific methods are vulnerable in REDHAT-BUG-2433624?
The vulnerable methods in REDHAT-BUG-2433624 are load_from_url and load_from_url_async in the MediaConnector class.