GHSA-7j36-gc4r-9x3r

    Dashboard / Vulnerabilities / GHSA-7j36-gc4r-9x3r

    GHSA-7j36-gc4r-9x3r

    Published: 25 Aug 2021Last Modified: 8 Nov 2023

    Summary: Out of bounds access in compact_arena

    Details: Affected versions of this crate did not properly implement the generativity, because the invariant lifetimes were not necessarily dropped. This allows an attacker to mix up two arenas, using indices created from one arena with another one. This might lead to an out-of-bounds read or write access into the memory reserved for the arena. The flaw was corrected by implementing generativity correctly in version 0.4.0.

    Affected packages

    Package

    Name: compact_arena

    Purl: pkg:cargo/compact_arena

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -0.4.0

    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