CVE-2024-9053CWE-502

Remote Code Execution in vllm-project/vllm

Critical · published March 20, 2025

CVSS v3.0
9.8
EPSS
1%
Percentile
71.9
In the wild
Unconfirmed
What it is

🚨 A sneaky vulnerability in vllm-project version 0.6.0 can let attackers execute code remotely — a tidy little package of trouble waiting to be unwrapped! 🔥 Think of it like a restaurant that takes takeout orders without checking the ingredients — someone could slip in a recipe that includes harmful elements, and that dish could end up poisoning customers. That's what happens here when untrusted data is deserialized directly! An attacker could send a crafted message that, when processed, runs any code they want on your server. This means they could steal sensitive data, alter your system, or even bring it down entirely! The consequences are absolutely devastating if left unchecked.

Put simply

Think of it like a restaurant that takes takeout orders without checking the ingredients — someone could slip in a recipe that includes harmful elements, and that dish could end up poisoning customers. That's what happens here when untrusted data is deserialized directly! The vulnerability exists in the AsyncEngineRPCServer() where the run_server_loop() function calls _make_handler_coro(), which uses cloudpickle.loads() to unserialize received messages without any sanitization, allowing remote code execution via malicious pickle data.

What to do

An attacker could send a crafted message that, when processed, runs any code they want on your server. This means they could steal sensitive data, alter your system, or even bring it down entirely! The consequences are absolutely devastating if left unchecked. To protect your systems, upgrade vllm-project to version 0.6.1 or later immediately. Implement input validation to sanitize incoming data and avoid using cloudpickle for untrusted sources. Regularly audit your codebase for similar vulnerabilities. You've got this! Follow these steps and you'll have your systems secure in no time! 🛡️

The record
Technical detail
CVSS v3.0
9.8 · CRITICAL
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01380 · 71.9th percentile
Weakness
CWE-502 · Deserialization of Untrusted Data
Published
2025-03-20T10:09Z
EPSS history
Timeline
  • 20 MAR 10:09Z
    Remote Code Execution in vllm-project/vllm
    cvelistv5