{"id":"GHSA-9hpw-r23r-xgm5","summary":"Data race in `Iter` and `IterMut`","details":"In the affected version of this crate, `{Iter, IterMut}::next` used a weaker memory ordering when loading values than what was required, exposing a potential data race\nwhen iterating over a `ThreadLocal`'s values.\n\nCrates using `Iter::next`, or `IterMut::next` are affected by this issue.\n","aliases":["RUSTSEC-2022-0006"],"modified":"2023-11-08T04:17:57.540599Z","published":"2022-06-17T00:25:46Z","database_specific":{"cwe_ids":["CWE-362"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2022-06-17T00:25:46Z","nvd_published_at":null},"references":[{"type":"WEB","url":"https://github.com/Amanieu/thread_local-rs/issues/33"},{"type":"PACKAGE","url":"https://github.com/Amanieu/thread_local-rs"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2022-0006.html"}],"affected":[{"package":{"name":"thread_local","ecosystem":"crates.io","purl":"pkg:cargo/thread_local"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.1.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-9hpw-r23r-xgm5/GHSA-9hpw-r23r-xgm5.json"}}],"schema_version":"1.9.0"}