{"id":"RUSTSEC-2022-0006","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.","aliases":["GHSA-9hpw-r23r-xgm5"],"modified":"2023-11-08T04:17:57.540599Z","published":"2022-01-23T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/thread_local"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2022-0006.html"},{"type":"REPORT","url":"https://github.com/Amanieu/thread_local-rs/issues/33"}],"affected":[{"package":{"name":"thread_local","ecosystem":"crates.io","purl":"pkg:cargo/thread_local"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"1.1.4"}]}],"ecosystem_specific":{"affects":{"arch":[],"os":[],"functions":[]},"affected_functions":null},"database_specific":{"categories":["memory-corruption"],"informational":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2022-0006.json","cvss":null}}],"schema_version":"1.7.3"}