vLLMに細工したリクエストで大量のリソースを消費させられる脆弱性
Summary
vLLMの0.19.0以上0.31.0未満では、チャット補完のリクエストでフレーム数の上限を回避できる脆弱性が見つかりました。大量のフレームを読み込まれるとメモリが枯渇し、サービスが停止するおそれがあります。対策として、0.31.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.19.0以上0.31.0未満では、チャット補完のリクエストでフレーム数の上限を回避できる脆弱性が見つかりました。大量のフレームを読み込まれるとメモリが枯渇し、サービスが停止するおそれがあります。対策として、0.31.0以降の修正版へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| vllm-projectvllm |
≥ 0.19.0, < 0.31.0→ 0.31.0 |
0.31.0 |
Original description The description as published by the source.
vLLM from 0.19.0 before 0.31.0 contains a resource exhaustion vulnerability that allows inference clients to bypass the server frame limit by setting media_io_kwargs.video.num_frames in chat completion requests. Attackers can supply num_frames=-1 or a large value with many base64 JPEG frames, forcing VideoMediaIO to decode all frames and np.stack them, causing memory exhaustion.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- web github.com