Vllm: denials of service in vllm json web api (vllm)

CVE-2024-8939
MEDIUM 6.2

At a glance

Source
NVD
EPSS
EPSS 0.23 % Β· percentile 14 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Deferred

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.

Weaknesses (CWE)

  • CWE-400 β€” Uncontrolled Resource Consumption

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 6.2CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hredhat
CVSS 3.1MEDIUM 6.2CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD Β· secalert@redhat.com (Secondary)

Advisories

European references

Affected products

ProductVersions
vllmaffected 0 < 0.5.0.post1
Red Hat Β· Red Hat Enterprise Linux AI (RHEL AI)
Red Hat Β· Red Hat Enterprise Linux AI (RHEL AI)

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST β€” attribution requested
ENISA EUVDENISA β€” reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain β€” this product uses data from the NVD API but is not endorsed or certified by the NVD