Unratedcrates.ioPublished
Data race in Iter and IterMut
GHSA-9hpw-r23r-xgm5
- Affected
- crates.io thread_local < 1.1.4
- Fixed in
- 1.1.4· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 1.1.4 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.