VDB
Sign up
HIGH

GHSA-9hpw-r23r-xgm5

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

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

Are you affected?

Enter the version of the package you're using.

Affected packages

crates.io/thread_local
Introduced in: 0Fixed in: 1.1.4

Upgrade thread_local to 1.1.4 or newer (ecosystem crates.io).

References