Skip to content

Data race in `Iter` and `IterMut`

High severity GitHub Reviewed Published Jun 17, 2022 to the GitHub Advisory Database • Updated Jan 12, 2023

Package

cargo thread_local (Rust)

Affected versions

< 1.1.4

Patched versions

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.

References

Published to the GitHub Advisory Database Jun 17, 2022
Reviewed Jun 17, 2022
Last updated Jan 12, 2023

Severity

High

Weaknesses

CVE ID

No known CVE

GHSA ID

GHSA-9hpw-r23r-xgm5
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.