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のVideoMediaIO.load_base64()において、video/jpegのData URL処理でフレーム数の上限がないため、大量のフレームを含む1件のAPIリクエストでメモリを使い果たし、サーバーがクラッシュするおそれがあります。影響を受けるのは0.8.0以降0.19.0未満のvLLMで、認証は不要です。0.19.0以降へのアップデートで対処できます。
vLLMの脆弱性はフレーム数制限のないメモリ不足DoS攻撃です。
VideoMediaIO.load_base64()メソッド
認証不要で攻撃可能なため、高リスクです。
フレーム数制限を追加してメモリの消費を制限します。
一時的な回避策は情報なし。
大量のJEPGデコードが発生する場合に影響を確認可能です。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| pipvllm |
< 0.19.0→ 0.19.0 |
0.19.0 |
| PyPIvllm |
≥ 0.8.0, < 0.19.0→ 0.19.0 |
0.19.0 |
Original description The description as published by the source.
vLLM versions 0.8.0 and later are vulnerable to an Out-of-Memory (OOM) Denial of Service (DoS) attack due to unbounded frame count processing in the VideoMediaIO.load_base64() method. When processing video/jpeg data URLs, the method splits the base64 data string on commas to extract individual JPEG frames without enforcing a frame count limit. An attacker can exploit this by crafting a single API request containing thousands of comma-separated base64-encoded JPEG frames in a data URL, causing the server to decode all frames into memory and crash due to excessive memory consumption. This vulnerability is reachable via the OpenAI-compatible chat completions API and does not require authentication.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- advisory github.com
- exploit huntr.com
- package github.com
- patch security@huntr.dev
- web access.redhat.com
- web bugzilla.redhat.com
- web security.access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web github.com