Descrizione
A flaw was found in the Linux Kernel. The tun/tap sockets have their socket UID hardcoded to 0 due to a type confusion in their initialization function. While it will be often correct, as tuntap devices require CAP_NET_ADMIN, it may not always be the case, e.g., a non-root user only having that capability. This would make tun/tap sockets being incorrectly treated in filtering/routing decisions, possibly bypassing network filters.
Tipo di vulnerabilità
CWE-843
Type confusion: accesso a una risorsa con un tipo incompatibile
Il prodotto crea una risorsa (puntatore, oggetto o variabile) di un certo tipo, ma in seguito vi accede come se fosse di un tipo incompatibile.
Impatto sui sistemi
| Ambito | Impatto |
| Altro |
Dipende dal contesto |
| Disponibilità, Integrità, Riservatezza |
Leggere la memoria, Modificare la memoria, Eseguire codice o comandi non autorizzati, Interruzione del servizio: arresto o riavvio |
Tutte le 927 CVE di tipo CWE-843, con andamento e prevenzione