Descrizione
A flaw was found in libsoup's SoupServer HTTP Range header processing. The sort_ranges() comparator in soup-message-headers.c truncates a 64-bit subtraction result to 32-bit int, flipping the sign for range offsets differing by more than INT_MAX. This causes silent omission of requested byte ranges from HTTP 206 Partial Content responses on resources larger than approximately 2 GB.
Tipo di vulnerabilità
CWE-197
Numeric Truncation Error
Truncation errors occur when a primitive is cast to a primitive of a smaller size and data is lost in the conversion.
Impatto sui sistemi
| Ambito | Impatto |
| Integrità |
Modificare la memoria, Dipende dal contesto |
Come si previene
Sviluppo
Ensure that no casts, implicit or explicit, take place that move from a larger size primitive or a smaller size primitive.
Tutte le 76 CVE di tipo CWE-197, con andamento e prevenzione