Files
vuln-osv/data/crates.io/RUSTSEC-2022-0006.json
T

1 line
1.2 KiB
JSON

{"schema_version":"1.7.3","id":"RUSTSEC-2022-0006","published":"2022-01-23T12:00:00Z","modified":"2023-11-08T04:17:57.540599Z","aliases":["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.","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":{"affected_functions":null,"affects":{"arch":[],"functions":[],"os":[]}},"database_specific":{"categories":["memory-corruption"],"cvss":null,"informational":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2022-0006.json"}}],"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"}],"database_specific":{"license":"CC0-1.0"}}