RUSTSEC-2021-0053

    Dashboard / Vulnerabilities / RUSTSEC-2021-0053

    RUSTSEC-2021-0053

    Published: 7 Mar 2021Last Modified: 8 Nov 2023

    Summary: 'merge_sort::merge()' crashes with double-free for `T: Drop`

    Details: In the affected versions of this crate, `merge_sort::merge()` wildly duplicates and drops ownership of `T` without guarding against double-free. Due to such implementation, simply invoking `merge_sort::merge()` on `Vec<T: Drop>` can cause **double free** bugs.

    Affected packages

    Package

    Name: algorithmica

    Purl: pkg:cargo/algorithmica

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.0.0-0
    Fixed -None

    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-0053 | CVE-DB