rust-battop icon indicating copy to clipboard operation
rust-battop copied to clipboard

RUSTSEC-2022-0006: Data race in `Iter` and `IterMut`

Open github-actions[bot] opened this issue 3 years ago • 0 comments

Data race in Iter and IterMut

Details
Package thread_local
Version 0.3.4
URL https://github.com/Amanieu/thread_local-rs/issues/33
Date 2022-01-23
Patched versions >=1.1.4

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 when iterating over a ThreadLocal's values.

Crates using Iter::next, or IterMut::next are affected by this issue.

See advisory page for additional details.

github-actions[bot] avatar Jan 25 '22 07:01 github-actions[bot]