CVE-2025-24357 vLLM allows a malicious model RCE by torch.load in hf_model_weights_iterator
설명
vLLM is a library for LLM inference and serving. vllm/model_executor/weight_utils.py implements hf_model_weights_iterator to load the model checkpoint, which is downloaded from huggingface. It uses the torch.load function and the weights_only parameter defaults to False. When torch.load loads malicious pickle data, it will execute arbitrary code during unpickling. This vulnerability is fixed in v0.7.0.
영향 받는 제품 제품 1개
-
해결 버전 있음
vllm-project
vllm
영향 받는 버전
- 0.7.0 미만
해결 버전
- 0.7.0 이상
참고 자료 4건
- github.com https://github.com/vllm-project/vllm/commit/d3d6bb13fb62da3234addf6574922a4ec0513d04 (새 창)
- github.com https://github.com/vllm-project/vllm/pull/12366 (새 창)
- github.com https://github.com/vllm-project/vllm/security/advisories/GHSA-rh4j-5rhw-hr54 (새 창)
- pytorch.org https://pytorch.org/docs/stable/generated/torch.load.html (새 창)