RUSTSEC-2022-0006

Source
https://rustsec.org/advisories/RUSTSEC-2022-0006
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2022-0006.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2022-0006
Aliases
Published
2022-01-23T12:00:00Z
Modified
2023-11-08T04:17:57.540599Z
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
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / thread_local

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
1.1.4

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "os": [],
        "functions": [],
        "arch": []
    }
}

Database specific

{
    "cvss": null,
    "informational": null,
    "categories": [
        "memory-corruption"
    ]
}