{"answers":{"affected":"3 open source packages ship an affected version, including vllm.","exploited":"There is no known exploitation of CVE-2024-8939 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-8939 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-8939 is a medium-severity denial of service vulnerability in Red Hat Enterprise Linux AI (RHEL AI), published on 17 Sep 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-8939 and fix it if it is affected.\n\nWhat it is: CVE-2024-8939 is a medium-severity denial of service vulnerability in Red Hat Enterprise Linux AI (RHEL AI), published on 17 Sep 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-8939 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- vllm (PyPI): affected all versions up to 0.5.0.post1; no fix listed\n- vllm (PyPI): affected all versions up to 0.5.0.post1; no fix listed\n- vllm (PyPI): affected all versions up to 0.5.0.post1; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-8939/ (Markdown: https://insights.sbomify.com/CVE-2024-8939/index.md)","id":"CVE-2024-8939","markdown":"https://insights.sbomify.com/CVE-2024-8939/index.md","name":"CVE-2024-8939","record":{"aliases":["CVE-2024-11040","GHSA-wc36-9694-f9rf","PYSEC-2026-2025"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"LLM serving API","requires_auth":"none","summary":"An attacker can cause a Denial of Service in the vllm JSON web API by setting the best_of parameter to a large value, exhausting system resources.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":6.2,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Vllm: denials of service in vllm json web api","id":"CVE-2024-8939","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":3,"n_references":2,"next":{"headline":"Unrestricted Upload of File with Dangerous Type vulnerability on Scriptcase","id":"CVE-2024-8940"},"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["0.5.0.post1"],"package":"vllm","purl":null,"source":"GHSA-wc36-9694-f9rf"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["0.5.0.post1"],"package":"vllm","purl":"pkg:pypi/vllm","source":"GHSA-wc36-9694-f9rf"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["0.5.0.post1"],"package":"vllm","purl":"pkg:pypi/vllm","source":"PYSEC-2026-2025"}],"prev":{"headline":"Memory corruption in Modicon M340 CPU (part numbers BMXP34*)","id":"CVE-2024-8938"},"products":["Red Hat Enterprise Linux AI (RHEL AI)"],"published":"2024-09-17","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-20","vendors":["Red Hat"]},"summary":"An attacker can cause a Denial of Service in the vllm JSON web API by setting the best_of parameter to a large value, exhausting system resources.","url":"https://insights.sbomify.com/CVE-2024-8939/"}