Allocation of Resources Without Limits or Throttling Affecting py3.10-vllm-cuda-11.8 package, versions <0.8.2-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

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 Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CHAINGUARDLATEST-PY310VLLMCUDA118-9511764
  • published25 Mar 2025
  • disclosed19 Mar 2025

Introduced: 19 Mar 2025

NewCVE-2025-29770  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade Chainguard py3.10-vllm-cuda-11.8 to version 0.8.2-r0 or higher.

NVD Description

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

vLLM is a high-throughput and memory-efficient inference and serving engine for LLMs. The outlines library is one of the backends used by vLLM to support structured output (a.k.a. guided decoding). Outlines provides an optional cache for its compiled grammars on the local filesystem. This cache has been on by default in vLLM. Outlines is also available by default through the OpenAI compatible API server. The affected code in vLLM is vllm/model_executor/guided_decoding/outlines_logits_processors.py, which unconditionally uses the cache from outlines. A malicious user can send a stream of very short decoding requests with unique schemas, resulting in an addition to the cache for each request. This can result in a Denial of Service if the filesystem runs out of space. Note that even if vLLM was configured to use a different backend by default, it is still possible to choose outlines on a per-request basis using the guided_decoding_backend key of the extra_body field of the request. This issue applies only to the V0 engine and is fixed in 0.8.0.