Skip to content
MediumVulnerabilityLLM-specific

GHSA-6fvq-23cw-5628: vLLM: Resource-Exhaustion (DoS) through Malicious Jinja Template in OpenAI-Compatible Server

Published
Record updated
View JSON
Affected
  • vllm >= 0.5.1, < 0.11.0
Fixed in
0.11.0
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.

Summary

A resource-exhaustion denial-of-service flaw in vLLM's OpenAI-Compatible Server lets an attacker who can supply the chat_template or chat_template_kwargs parameters submit a crafted Jinja template that consumes excessive CPU and memory. Blocking chat_template alone is insufficient, because chat_template_kwargs is merged into the keyword arguments via dict.update and can override the template. The fix is referenced as pull request #25794 in the vllm-project/vllm repository.

Mitigation

Fixes: https://github.com/vllm-project/vllm/pull/25794