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.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2021-1759 | 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. |
Github GHSA |
GHSA-hv7x-f3pv-gpwr | Wrong memory orderings violates mutual exclusion in spin |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
| Link | Providers |
|---|---|
| https://rustsec.org/advisories/RUSTSEC-2019-0013.html |
|
History
No history.
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2024-08-05T01:10:41.177Z
Reserved: 2019-09-08T00:00:00
Link: CVE-2019-16137
No data.
Status : Modified
Published: 2019-09-09T12:15:10.647
Modified: 2024-11-21T04:30:07.313
Link: CVE-2019-16137
No data.
OpenCVE Enrichment
No data.
EUVD
Github GHSA