vLLM — это механизм вывода и обслуживания больших языковых моделей. До версии 0.26.0 конечные точки /v1/completions/derender и /v1/chat/completions/derender принимают объекты GenerateResponse, предоставленные вызывающей стороной, чьи структуры Generate_responses, choice, token_ids, Prompt_logprobs, logprobs.content, top_logprobs и Routed_Experts обрабатываются OnlineDerenderer и tokenizer.decode до max_model_len, max_tokens, max_num_seqs, или ограничения размера ответа, применяются, что позволяет аутентифицированному клиенту API потреблять чрезмерное количество ресурсов ЦП и памяти и выдавать слишком большие ответы. Эта проблема исправлена в версии 0.26.0.
Показать оригинальное описание (EN)
vLLM is an inference and serving engine for large language models. Prior to 0.26.0, the /v1/completions/derender and /v1/chat/completions/derender endpoints accept caller-supplied GenerateResponse objects whose generate_responses, choices, token_ids, prompt_logprobs, logprobs.content, top_logprobs, and routed_experts structures are processed by OnlineDerenderer and tokenizer.decode before max_model_len, max_tokens, max_num_seqs, or response-size limits are enforced, allowing an authenticated API client to consume excessive CPU and memory and produce oversized responses. This issue is fixed in version 0.26.0.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 1
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Vllm Vllm
cpe:2.3:a:vllm:vllm:*:*:*:*:*:*:*:*
|
— |
0.26.0
|