RUSTSEC-2020-0136

    Dashboard / Vulnerabilities / RUSTSEC-2020-0136

    RUSTSEC-2020-0136

    Published: 15 Nov 2020Last Modified: 8 Nov 2023

    Summary: CopyCell lacks bounds on its Send trait allowing for data races

    Details: `CopyCell<T>` is a `Cell`-like type that is implemented for any type `T` that is `Copy`able. It's `Send` trait has no bounds on the contained type. As not all `Copy`able types are thread safe, for example non-mutable references implement the `Copy` trait, it is possible to send references to types with interior mutability such as `Cell` across threads and cause data races.

    Affected packages

    Package

    Name: toolshed

    Purl: pkg:cargo/toolshed

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.0.0-0
    Fixed -None

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    RUSTSEC-2020-0136 | CVE-DB