CVE-2019-16137 Wrong memory orderings violates mutual exclusion in spin
HighCVSS 7.5
EPSS 1.4%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io spin(crates.io) | < 0.5.2 | 0.5.2 |
| crates.io spin(crates.io) | >= 0.0.0-0, < 0.5.2 | 0.5.2 |
| debian/rust-spin(Debian:12) | < 0.5.2-1 | 0.5.2-1 |
| debian/rust-spin(Debian:13) | < 0.5.2-1 | 0.5.2-1 |
| debian/rust-spin(Debian:14) | < 0.5.2-1 | 0.5.2-1 |
| spin-rs project spin-rs | < 0.5.2 | 0.5.2 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking
- rustsec.org third-party-advisory vendor-advisory
- github.com patch
- github.com
- github.com product
- crates.io product
- Debian Security Tracker CVE-2019-16137 vendor-advisory