RUSTSEC-2019-0011

    Dashboard / Vulnerabilities / RUSTSEC-2019-0011

    RUSTSEC-2019-0011

    Published: 16 Jul 2019Last Modified: 8 Nov 2023

    Summary: Flaw in offset_of and span_of causes SIGILL, drops uninitialized memory of arbitrary type on panic in client code

    Details: Affected versions of this crate caused traps and/or memory unsafety by zero-initializing references. They also could lead to uninitialized memory being dropped if the field for which the offset is requested was behind a deref coercion, and that deref coercion caused a panic. The flaw was corrected by using `MaybeUninit`.

    Affected packages

    Package

    Name: memoffset

    Purl: pkg:cargo/memoffset

    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