CVE-2024-11041: Vllm VLLM Deserialization Of Untrusted Data Vulnerability
CRITICALCVE-2024-11041 is a CRITICAL (CVSS 9.8) vllm deserialization of untrusted data vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Vllm libraries in the PyPI ecosystem. The issue involves vllm deserialization of untrusted data vulnerability. Remediation is available in the latest vendor maintenance releases.
CVE-2024-11041 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2024-11041
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>=Latest secure release
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-11041, 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 the patched release), 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-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. 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-11041 Affected Vllm Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
vllm
|
PyPI |
≤ 0.6.2
|
|
References
Frequently Asked Questions
What is CVE-2024-11041?
Which Vllm versions are affected?
What version fixes CVE-2024-11041?
Is vllm affected?
What is the CVSS score of CVE-2024-11041?
What CWE is associated with CVE-2024-11041?
How can I check PyPI dependencies for CVE-2024-11041?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5vqr-wprc-cpp7",
"modified" : "2025-03-21T16:55:37Z",
"published" : "2025-03-20T12:32:41Z",
"aliases" : [ "CVE-2024-11041" ],
"summary" : "vLLM Deserialization of Untrusted Data vulnerability",
"details" : "vllm-project vllm version v0.6.2 contains a vulnerability in the MessageQueue.dequeue() API function. The function uses pickle.loads to parse received sockets directly, leading to a remote code execution vulnerability. An attacker can exploit this by sending a malicious payload to the MessageQueue, causing the victim's machine to execute arbitrary code.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "vllm"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.6.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-11041"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/vllm-project/vllm"
}, {
"type" : "WEB",
"url" : "https://github.com/vllm-project/vllm/blob/7193774b1ff8603ad5bf4598e5efba0d9a39b436/vllm/distributed/device_communicators/shm_broadcast.py#L441-L443"
}, {
"type" : "WEB",
"url" : "https://huntr.com/bounties/00136195-11e0-4ad0-98d5-72db066e867f"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2025-03-21T16:55:37Z",
"nvd_published_at" : "2025-03-20T10:15:23Z"
}
}