GHSA-9c9f-7x9p-4wqp

    Dashboard / Vulnerabilities / GHSA-9c9f-7x9p-4wqp

    GHSA-9c9f-7x9p-4wqp

    Published: 17 Jun 2022Last Modified: 8 Nov 2023

    Summary: A malicious coder can get unsound access to TCell or TLCell memory

    Details: This is impossible to do by accident, but by carefully constructing marker types to be covariant, a malicious coder can cheat the singleton check in `TCellOwner` and `TLCellOwner`, giving unsound access to cell memory. This could take the form of getting two mutable references to the same memory, or a mutable reference and an immutable reference. The fix is for the crate to internally force the marker type to be invariant. This blocks the conversion between covariant types which Rust normally allows.

    Affected packages

    Package

    Name: qcell

    Purl: pkg:cargo/qcell

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -0.4.3

    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-9c9f-7x9p-4wqp | CVE-DB