Descrizione
In X.Org X server 20.11 through 21.1.16, when a client application uses easystroke for mouse gestures, the main thread modifies various data structures used by the input thread without acquiring a lock, aka a race condition. In particular, AttachDevice in dix/devices.c does not acquire an input lock.
Tipo di vulnerabilità
CWE-413
Improper Resource Locking
The product must have exclusive access to a resource, but it does not lock or does not correctly lock that resource.
Impatto sui sistemi
| Ambito | Impatto |
| Integrità, Disponibilità |
Modificare i dati dell’applicazione, Interruzione del servizio: instabilità, Interruzione del servizio: arresto o riavvio |
Come si previene
Architettura e progettazione
Use a non-conflicting privilege scheme.
Architettura e progettazione · Sviluppo
Use synchronization when locking a resource.
Tutte le 17 CVE di tipo CWE-413, con andamento e prevenzione