Descrizione
vLLM from 0.8.5 before 0.31.0 has a denial of service flaw. LogprobsTensors.empty_cpu() in vllm/v1/outputs.py allocates an uninitialized int32 tensor, and the V1 model runner leaves prompt positions reported as computed by a KV connector unwritten. A client sharing the engine can send prompt_logprobs (or echo with logprobs) against a connector-cached prefix, making tokenizer decode raise OverflowError, which crashes EngineCore and drops all co-tenant requests.
Tipo di vulnerabilità
CWE-908
Uso di una risorsa non inizializzata
Il prodotto usa o accede a una risorsa che non è stata inizializzata.
Impatto sui sistemi
| Ambito | Impatto |
| Riservatezza |
Leggere la memoria, Leggere i dati dell’applicazione |
| Disponibilità |
Interruzione del servizio: arresto o riavvio, Interruzione del servizio: instabilità |
| Altro |
Stato imprevisto, Dipende dal contesto |
Come si previene
Sviluppo
Explicitly initialize the resource before use. If this is performed through an API function or standard procedure, follow all required steps.
Sviluppo
Pay close attention to complex conditionals that affect initialization, since some branches might not perform the initialization.
Sviluppo
Avoid race conditions (CWE-362) during initialization routines.
Build e compilazione
Run or compile the product with settings that generate warnings about uninitialized variables or data.
Tutte le 1.027 CVE di tipo CWE-908, con andamento e prevenzione