Browse / AI Framework and Platform Flaws / CVE-2024-9052
vLLM deserialization vulnerability in vllm.distributed.GroupCoordinator.recv_object
- Class
- AI Framework and Platform Flaws (filed by a model that read the source)
- Technique
- Code and command execution
- Affected
- vllm (PyPI)
- CVSS
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
How it works, in short
A distributed communication helper unpickles received network bytes without checks, so a crafted message runs code on the receiving host. (Our summary, written by a model. The source text is below.)
Details
vllm-project vllm version 0.6.0 contains a vulnerability in the distributed training API. The function vllm.distributed.GroupCoordinator.recv_object() deserializes received object bytes using pickle.loads() without sanitization, leading to a remote code execution vulnerability.
Maintainer perspective
Note that vLLM does NOT use the code as described in the report on huntr. The problem only exists if you use these internal APIs in a way that exposes them to a network as described. The vllm team was not involved in the analysis of this report and the decision to assign it a CVE.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-9052
- https://github.com/github/advisory-database/pull/5444
- https://github.com/vllm-project/vllm
- https://github.com/vllm-project/vllm/blob/32e7db25365415841ebc7c4215851743fbb1bad1/vllm/distributed/parallel_state.py#L480
- https://github.com/vllm-project/vllm/blob/v0.8.1/vllm/distributed/parallel_state.py#L457
- https://huntr.com/bounties/ea75728f-4efe-4a3d-9f53-33f2c908e9f8
Source: GitHub Advisory Database, used under CC BY 4.0.