CVE-2024-8939
Vllm: denials of service in vllm json web api
- State
- Published
- Severity
- 6.2 Medium
- Published
- Sep 17, 2024
- Updated
- Nov 20, 2025
- Reserved
- Sep 17, 2024
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.2 Medium | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | redhat |
Weaknesses
- CWE-400 Uncontrolled Resource Consumption
Affected Products
| Product | Versions |
|---|---|
vllm |
|
Red Hat Enterprise Linux AI (RHEL AI)Red Hat | |
Red Hat Enterprise Linux AI (RHEL AI)Red Hat |
References
- https://access.redhat.com/security/cve/CVE-2024-8939vdb-entry
- RHBZ#2312782issue-tracking
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.