RUSTSEC-2021-0009

    Dashboard / Vulnerabilities / RUSTSEC-2021-0009

    RUSTSEC-2021-0009

    Published: 10 Jan 2021Last Modified: 8 Nov 2023

    Summary: panic safety issue in `impl TransformContent<S, D> for [S; (2|3|4)]`

    Details: Affected versions of this crate did not guard against double drop while temporarily duplicating objects' ownership using `ptr::read()`. Upon panic in a user-provided function `conversion`, objects that are copied by `ptr::read()` are dropped twice, leading to memory corruption. The flaw was corrected in v0.9.2 by using `ManuallyDrop<T>` to enclose objects that are to be temporarily duplicated.

    Affected packages

    Package

    Name: basic_dsp_matrix

    Purl: pkg:cargo/basic_dsp_matrix

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.0.0-0
    Fixed -0.9.2

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