Skip to content
RCE Disclosed report Intermediate CVE-2024-11041

vLLM Deserialization of Untrusted Data vulnerability

The MessageQueue.dequeue() function in vLLM v0.6.2 uses pickle.loads to deserialise data received over a socket, allowing remote code execution. An attacker can send a malicious payload to the MessageQueue to execute arbitrary code on the victim's machine.

vllm-project/vllm

Originally disclosed on huntr

Critical View original

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.

From the GitHub Advisory Database (GHSA-5vqr-wprc-cpp7, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely, the code deserialises untrusted network data with pickle.loads without any validation or safe format.

Impact

An attacker could execute arbitrary code on the victim's machine.

What the attacker needed

Network access to the MessageQueue socket

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Pickle is a Python way to turn objects into bytes and back. If you unpickle data from an untrusted source, the data can include instructions that run code on your computer. Here, the program unpickles whatever arrives over a network socket, so an attacker can send a payload that runs their code.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More from vllm-project/vllm

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.