GHSA-f3mq-99jr-ww4r

    Dashboard / Vulnerabilities / GHSA-f3mq-99jr-ww4r

    GHSA-f3mq-99jr-ww4r

    Published: 25 Aug 2021Last Modified: 15 Mar 2024

    Summary: Multiple soundness issues in cgc

    Details: Affected versions of this crate have the following issues: 1. `Ptr` implements `Send` and `Sync` for all types, this can lead to data races by sending non-thread safe types across threads. 2. `Ptr::get` violates mutable alias rules by returning multiple mutable references to the same object. 3. `Ptr::write` uses non-atomic writes to the underlying pointer. This means that when used across threads it can lead to data races.

    Affected packages

    Package

    Name: cgc

    Purl: pkg:cargo/cgc

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 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
    GHSA-f3mq-99jr-ww4r | CVE-DB