RUSTSEC-2020-0050

    Dashboard / Vulnerabilities / RUSTSEC-2020-0050

    RUSTSEC-2020-0050

    Published: 27 Sept 2020Last Modified: 8 Nov 2023

    Summary: VecCopy allows misaligned access to elements

    Details: `VecCopy::data` is created as a Vec of u8 but can be used to store and retrieve elements of different types leading to misaligned access. The issue was resolved in v0.5.0 by replacing data being stored by `Vec<u8>` with a custom managed pointer. Elements are now stored and retrieved using types with proper alignment corresponding to original types.

    Affected packages

    Package

    Name: dync

    Purl: pkg:cargo/dync

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.0.0-0
    Fixed -0.5.0

    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-2020-0050 | CVE-DB