Browse / Unsafe Model Loading and Supply Chain / CVE-2024-11041
vLLM Deserialization of Untrusted Data vulnerability
- Class
- Unsafe Model Loading and Supply Chain (filed by a model that read the source)
- Technique
- Unsafe deserialisation
- Affected
- vllm (PyPI)
- CVSS
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 1.7% chance of exploitation in 30 days
How it works, in short
The message queue dequeue path unpickles data received from sockets, so a crafted network message runs code on the receiving machine. (Our summary, written by a model. The source text is below.)
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-11041
- https://github.com/vllm-project/vllm
- https://github.com/vllm-project/vllm/blob/7193774b1ff8603ad5bf4598e5efba0d9a39b436/vllm/distributed/device_communicators/shm_broadcast.py#L441-L443
- https://huntr.com/bounties/00136195-11e0-4ad0-98d5-72db066e867f
Source: GitHub Advisory Database, used under CC BY 4.0.