Descrizione
An issue was discovered in the spin crate before 0.5.2 for Rust, when RwLock is used. Because memory ordering is mishandled, two writers can acquire the lock at the same time, violating mutual exclusion.
An issue was discovered in the spin crate before 0.5.2 for Rust, when RwLock is used. Because memory ordering is mishandled, two writers can acquire the lock at the same time, violating mutual exclusion.
| Fornitore | Prodotto | Versione | Piattaforma |
|---|---|---|---|
| spin-rs project | spin-rs | < 0.5.2 | – |
CWE-662 Improper Synchronization
The product utilizes multiple threads, processes, components, or systems to allow temporary access to a shared resource that can only be exclusive to one process at a time, but it does not properly synchronize these actions, which might cause simultaneous accesses of this resource by multiple threads or processes.
| Ambito | Impatto |
|---|---|
| Integrità, Riservatezza, Altro | Modificare i dati dell’applicazione, Modificare la memoria, Leggere i dati dell’applicazione, Alterare la logica di esecuzione |
| Disponibilità | Interruzione del servizio: arresto o riavvio, Interruzione del servizio: instabilità |
Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.
Tutte le 64 CVE di tipo CWE-662, con andamento e prevenzione
Fonte: catalogo CWE del MITRE · cwe.mitre.org