CVE-2024-8768: Vllm Denial of Service Vulnerability
HIGHCVE-2024-8768 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-617: Reachable Assertion) affecting Vllm libraries in the PyPI ecosystem. The issue involves vllm denial of service vulnerability. Remediation is available by upgrading affected packages to version 0.5.5.
CVE-2024-8768 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2024-8768
To remediate this vulnerability, upgrade all affected Vllm dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install vllm>=0.5.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show vllm
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2024-8768, inspect your installed packages using pip:
pip show vllm
Analyze the terminal output to locate any version of Vllm in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.5.5), your application is affected.
Note: The pip show vllm command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-617: Reachable Assertion, where the product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary. In Vllm, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-8768 Affected Vllm Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
vllm
|
PyPI |
< 0.5.5
|
0.5.5
|
References
Frequently Asked Questions
What is CVE-2024-8768?
Which Vllm versions are affected?
What version fixes CVE-2024-8768?
Is vllm affected?
What is the CVSS score of CVE-2024-8768?
What CWE is associated with CVE-2024-8768?
How can I check PyPI dependencies for CVE-2024-8768?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w2r7-9579-27hf",
"modified" : "2024-09-17T21:32:12Z",
"published" : "2024-09-17T18:33:26Z",
"aliases" : [ "CVE-2024-8768" ],
"summary" : "vLLM denial of service vulnerability",
"details" : "A flaw was found in the vLLM library. A completions API request with an empty prompt will crash the vLLM API server, resulting in a denial of service.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "vllm"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.5.5"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-8768"
}, {
"type" : "WEB",
"url" : "https://github.com/vllm-project/vllm/issues/7632"
}, {
"type" : "WEB",
"url" : "https://github.com/vllm-project/vllm/pull/7746"
}, {
"type" : "WEB",
"url" : "https://github.com/vllm-project/vllm/commit/e25fee57c2e69161bd261f5986dc5aeb198bbd42"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2024-8768"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2311895"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/vllm-project/vllm"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-617" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-09-17T21:32:12Z",
"nvd_published_at" : "2024-09-17T17:15:11Z"
}
}