RUSTSEC-2020-0127

Source
https://rustsec.org/advisories/RUSTSEC-2020-0127
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2020-0127.json
Aliases
Published
2020-12-18T12:00:00Z
Modified
2023-11-08T04:03:45.399019Z
Details

Affected versions of this crate unconditionally implement Sync for SyncRef<T>. This definition allows data races if &T is accessible through &SyncRef.

SyncRef<T> derives Clone and Debug, and the default implementations of those traits access &T by invoking T::clone() & T::fmt(). It is possible to create data races & undefined behavior by concurrently invoking SyncRef<T>::clone() or SyncRef<T>::fmt() from multiple threads with T: !Sync.

References

Affected packages

crates.io / v9

Package

Name
v9

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.1.43

Ecosystem specific

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

Database specific

{
    "cvss": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
    "informational": null,
    "categories": [
        "memory-corruption",
        "thread-safety"
    ]
}