HistoryEditJSON (OSV)

RUSTSEC-2022-0006

Data race in Iter and IterMut

Reported
Issued
Package
thread_local (crates.io)
Type
Vulnerability
Categories
Aliases
References
Patched
  • >=1.1.4

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.

Advisory available under CC0-1.0 license.