What’s Vulnerable › Vulnerabilities

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

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Crates.Io Thread Local 1.1.4. Check the vendor advisory for mitigations.

References

Get alerted when RUSTSEC-2022-0006 or the next vulnerability affects your stack