RUSTSEC-2020-0135

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

Slock<T> unconditionally implements Send/Sync.

Affected versions of this crate allows sending non-Send types to other threads, which can lead to data races and memory corruption due to the data race.

References

Affected packages

crates.io / slock

Package

Name
slock

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.2.0

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"
    ]
}