RUSTSEC-2021-0036

    Dashboard / Vulnerabilities / RUSTSEC-2021-0036

    RUSTSEC-2021-0036

    Published: 3 Mar 2021Last Modified: 8 Nov 2023

    Summary: Intern<T>: Data race allowed on T

    Details: Affected versions of this crate unconditionally implements `Sync` for `Intern<T>`. This allows users to create data race on `T: !Sync`, which may lead to undefined behavior (for example, memory corruption). The flaw was corrected in commit 2928a87 by adding the trait bound `T: Sync` in the `Sync` impl of `Intern<T>`.

    Affected packages

    Package

    Name: internment

    Purl: pkg:cargo/internment

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.0.0-0
    Fixed -0.4.2

    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-2021-0036 | CVE-DB