CVE-2024-8939
MEDIUM 6.2CVSS 3.1vLLM Denial of Service via the best_of parameter
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.
- Published
- 17 Sep 2024
- Last modified
- 7 Aug 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Deferred
- Weakness
- CWE-400
- Also known as
- GHSA-wc36-9694-f9rfPYSEC-2026-2025
- Sources
- NVDJSONOSV GHSA-wc36-9694-f9rfJSONOSV PYSEC-2026-2025JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| OSV | PyPA | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | vllm | <= 0.5.0.post1 |
References
- https://access.redhat.com/security/cve/CVE-2024-8939 · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2312782 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-8939 · ADVISORY
- https://github.com/vllm-project/vllm/issues/6137 · WEB
- https://github.com/vllm-project/vllm · PACKAGE
- https://pypi.org/project/vllm · PACKAGE
- https://github.com/advisories/GHSA-wc36-9694-f9rf · ADVISORY
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 17 Sep 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 Sep 2024)