Descrizione
nDPI 5.1.0 contains a memory access issue in the DNS dissector and serializer deserialization code. Specially crafted network input can cause byte-buffer addresses at odd offsets to be cast to uint16_t or wider integer pointers and directly dereferenced without alignment checks. This results in undefined behavior and can cause process termination in UBSan-instrumented builds or on strict-alignment architectures, leading to denial of service.
Tipo di vulnerabilità
CWE-1335
Incorrect Bitwise Shift of Integer
An integer value is specified to be shifted by a negative amount or an amount greater than or equal to the number of bits contained in the value.
Impatto sui sistemi
| Ambito | Impatto |
| Integrità |
Interruzione del servizio: arresto o riavvio |
| Altro |
Comportamento indefinito, Stato imprevisto, Alterare la logica di esecuzione |
Come si previene
Sviluppo
Implicitly or explicitly add checks and mitigation for negative or over-shift values.
Tutte le 5 CVE di tipo CWE-1335, con andamento e prevenzione