{"id":"CVE-2019-16137","published":"2019-09-09T11:45:39Z","modified":"2024-08-05T01:10:41Z","title":"An issue was discovered in the spin crate before 0.5.2 for Rust, when RwLock is used","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01423,"percentile":0.73546,"provenance":"source"},"cwes":[],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2019-0013.html","tags":["x_refsource_MISC"]}],"priority":{"score":14.7,"factors":[{"name":"EPSS percentile","points":14.71}]},"affected":[{"ecosystem":"crates.io","package":"spin","vulnerableRanges":["<0.5.2",">=0.0.0-0, <0.5.2"],"patched":["0.5.2"],"from":["GHSA-hv7x-f3pv-gpwr","RUSTSEC-2019-0013"],"provenance":"source"}],"summary":{"text":"The flaw is in the spin crate for Rust, versions before 0.5.2, specifically in its RwLock implementation, where incorrect memory ordering lets two writers acquire the lock simultaneously. An attacker can exploit this to break mutual exclusion.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:47:21Z"},"euvd":{"id":"EUVD-2021-1759","exploited":false,"provenance":"source"}}