Vulnerability
CVE-2019-16137
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.
3 advisories report this vulnerability, across 2 ecosystems.
Advisories
-
DEBIAN-CVE-2019-16137
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.
-
GHSA-hv7x-f3pv-gpwr
Wrong memory orderings violates mutual exclusion in spin
-
RUSTSEC-2019-0013
Wrong memory orderings in RwLock potentially violates mutual exclusion