Advisory

GHSA-wc36-9694-f9rf

Also known as: CVE-2024-8939, PYSEC-2026-2025

Summary

vLLM Denial of Service via the best_of parameter

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-09-17 18:33 UTC
Modified
2026-08-07 08:12 UTC

Affected packages and fixes

vllm

PyPI · All systems

Affected

  • introduced 0, last affected 0.5.0.post1 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences