GitHub Advisoryadvisory · PyPI
GHSA-wc36-9694-f9rf vLLM Denial of Service via the best_of parameter
MEDIUM
Official page ↗
- Aliases
- CVE-2024-8939
- Ecosystem
- PyPI
- Packages
- vllm
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-400
- Reviewed
- 2024-09-17
Affected packages
• PyPI vllm: <= 0.5.0.post1 (no fix yet)
Description
A vulnerability was found in the ilab model serve component, where improper handling of the best_of parameter in the vllm JSON web API can lead to a Denial of Service (DoS). The API used for LLM-based sentence or chat completion accepts a best_of parameter to return the best completion from several options. When this parameter is set to a large value, the API does not handle timeouts or resource exhaustion properly, allowing an attacker to cause a DoS by consuming excessive system resources. This leads to the API becoming unresponsive, preventing legitimate users from accessing the service.
Related
Alias · CVE (1)
- CVE-2024-8939 A vulnerability was found in the ilab model serve component, where improper handling of the best_of parameter in the vllm JSON web API can… vulnerability
Weakness · CWE (1)
- CWE-400 Uncontrolled Resource Consumption weakness