GHSA-mm7v-vpv8-xfc3

    Dashboard / Vulnerabilities / GHSA-mm7v-vpv8-xfc3

    GHSA-mm7v-vpv8-xfc3

    Published: 25 Aug 2021Last Modified: 8 Nov 2023

    Summary: Double free in smallvec

    Details: Attempting to call grow on a spilled SmallVec with a value equal to the current capacity causes it to free the existing data. This performs a double free immediately and may lead to use-after-free on subsequent accesses to the SmallVec contents. An attacker that controls the value passed to grow may exploit this flaw to obtain memory contents or gain remote code execution.

    Affected packages

    Package

    Name: smallvec

    Purl: pkg:cargo/smallvec

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.6.5
    Fixed -0.6.10

    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