Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. vllm
  4. ›
  5. CVE-2024-8939

CVE-2024-8939: vLLM Denial of Service via the best_of parameter

September 17, 2024

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.

References

  • access.redhat.com/security/cve/CVE-2024-8939
  • bugzilla.redhat.com/show_bug.cgi?id=2312782
  • github.com/advisories/GHSA-wc36-9694-f9rf
  • github.com/vllm-project/vllm
  • github.com/vllm-project/vllm/issues/6137
  • nvd.nist.gov/vuln/detail/CVE-2024-8939

Code Behaviors & Features

Detect and mitigate CVE-2024-8939 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 0.5.0.post1

Solution

Unfortunately, there is no solution available yet.

Impact 6.2 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

pypi/vllm/CVE-2024-8939.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:22 +0000.