vLLMで不正なstop_token_idsによりサービス停止やGPUメモリ書き込みのおそれ
Summary
vLLMの0.20.1以降0.29.0未満に、語彙外のstop_token_idsを送ることでエンジンが停止したり、V2ランナーのlogitsバッファ外へ書き込まれたりする脆弱性があります。OpenAI互換のchat、completion、generate、batchの各リクエストから遠隔で悪用されるおそれがあります。修正版の0.29.0へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
vLLMの0.20.1以降0.29.0未満に、語彙外のstop_token_idsを送ることでエンジンが停止したり、V2ランナーのlogitsバッファ外へ書き込まれたりする脆弱性があります。OpenAI互換のchat、completion、generate、batchの各リクエストから遠隔で悪用されるおそれがあります。修正版の0.29.0へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| vllm-projectvllm |
≥ 0.20.1, < 0.29.0→ 0.29.0 |
0.29.0 |
Original description The description as published by the source.
vLLM from 0.20.1 before 0.29.0 contains an improper input validation vulnerability that allows remote attackers to crash the engine by supplying out-of-vocabulary stop_token_ids. Attackers can send OpenAI chat, completion, generate, or batch requests with invalid IDs to terminate the engine or write outside the V2 runner's logits buffer.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- REDHAT Red Hat
- web github.com