{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2019-16137","id":"CVE-2019-16137","title":"Wrong memory orderings violates mutual exclusion in spin","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.","descriptionLong":"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.","published":"2019-09-09T11:45:39.000Z","updated":"2026-06-17T02:21:44.503Z","reserved":"2019-09-08T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":7.8,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:C","rating":"high","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"spin","purl":"pkg:cargo/spin","ranges":["<0.5.2",">=0.0.0-0 <0.5.2"],"fixed":["0.5.2"],"advisory":"GHSA-hv7x-f3pv-gpwr"}],"cwes":["CWE-662"],"aliases":["GHSA-hv7x-f3pv-gpwr","RUSTSEC-2019-0013"],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2019-0013.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16137","tags":["advisory"]},{"url":"https://github.com/mvdnes/spin-rs/issues/65","tags":["web","report"]},{"url":"https://github.com/mvdnes/spin-rs/pull/66","tags":["web"]},{"url":"https://github.com/mvdnes/spin-rs","tags":["package"]},{"url":"https://crates.io/crates/spin","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01423,"epssPercentile":0.73423,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2019-16137","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16137","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2019-16137","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hv7x-f3pv-gpwr","ok":true,"note":"GHSA-hv7x-f3pv-gpwr"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2019-16137","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}