RUSTSEC-2018-0013

    Dashboard / Vulnerabilities / RUSTSEC-2018-0013

    RUSTSEC-2018-0013

    Published: 27 Nov 2018Last Modified: 8 Nov 2023

    Summary: Vec-to-vec transmutations could lead to heap overflow/corruption

    Details: Affected versions of this crate switched the length and capacity arguments in the Vec::from_raw_parts() constructor, which could lead to memory corruption or data leakage. The flaw was corrected by using the constructor correctly.

    Affected packages

    Package

    Name: safe-transmute

    Purl: pkg:cargo/safe-transmute

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.4.0
    Fixed -0.10.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