RUSTSEC-2021-0130

    Dashboard / Vulnerabilities / RUSTSEC-2021-0130

    RUSTSEC-2021-0130

    Published: 21 Dec 2021Last Modified: 8 Nov 2023

    Summary: Use after free in lru crate

    Details: Lru crate has use after free vulnerability. 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.0.0-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
    RUSTSEC-2021-0130 | CVE-DB