Deserialization of Untrusted Data Affecting tritonserver-backend-vllm-24.04 package, versions <24.04-r3


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Deserialization of Untrusted Data vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CHAINGUARDLATEST-TRITONSERVERBACKENDVLLM2404-8745449
  • published24 Feb 2025
  • disclosed27 Jan 2025

Introduced: 27 Jan 2025

CVE-2025-24357  (opens in a new tab)
CWE-502  (opens in a new tab)

How to fix?

Upgrade Chainguard tritonserver-backend-vllm-24.04 to version 24.04-r3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tritonserver-backend-vllm-24.04 package and not the tritonserver-backend-vllm-24.04 package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

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.