GHSA-v362-2895-h9r2

    Dashboard / Vulnerabilities / GHSA-v362-2895-h9r2

    GHSA-v362-2895-h9r2

    Published: 7 Jan 2022Last Modified: 8 Nov 2023

    Summary: Use After Free in lru

    Details: Lru crate has two functions for getting an iterator. Both iterators give references to key and value. Calling specific functions, like pop(), will remove and free the value, and but it's still possible to access the reference of value which is already dropped causing use after free.

    Affected packages

    Package

    Name: lru

    Purl: pkg:cargo/lru

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -0.7.1

    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-v362-2895-h9r2 | CVE-DB