Descrizione
SGLang through 0.5.22 contains a denial of service vulnerability that allows API clients to abort other users' in-flight generation requests by supplying a short client-controlled rid. Attackers can submit streaming /generate requests with single hex character rids and disconnect, triggering prefix-matching abort logic that terminates all other clients' requests.
Tipo di vulnerabilità
CWE-187
Partial String Comparison
The product performs a string comparison that only examines a portion of the string before determining whether there is a match.
Impatto sui sistemi
| Ambito | Impatto |
| Integrità, Controllo degli accessi |
Alterare la logica di esecuzione, Aggirare i meccanismi di protezione |
Come si previene
Test
Thoroughly test the comparison scheme before deploying code into production. Perform positive testing as well as negative testing.
Tutte le 19 CVE di tipo CWE-187, con andamento e prevenzione