GHSA-9hpw-r23r-xgm5

Suggest an improvement
Source
https://github.com/advisories/GHSA-9hpw-r23r-xgm5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-9hpw-r23r-xgm5/GHSA-9hpw-r23r-xgm5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-9hpw-r23r-xgm5
Aliases
Published
2022-06-17T00:25:46Z
Modified
2023-11-08T04:17:57Z
Summary
Data race in `Iter` and `IterMut`
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-362"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2022-06-17T00:25:46Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

crates.io / thread_local

Package

Name
thread_local
View open source insights on deps.dev
Purl
pkg:cargo/thread_local

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.1.4

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-9hpw-r23r-xgm5/GHSA-9hpw-r23r-xgm5.json"