Skip to content
OpenAdvisories
High GHSA-9hpw-r23r-xgm5 RUSTSEC-2022-0006

Data race in `Iter` and `IterMut`

Published Jun 17, 2022 · Updated Nov 8, 2023 · Assigned by GHSA

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 packages

EcosystemPackageAffectedFixedRecord
crates.io thread_local < 1.1.4 1.1.4 GHSA-9hpw-r23r-xgm5
crates.io thread_local >= 0.0.0-0, < 1.1.4 1.1.4 RUSTSEC-2022-0006

References