RUSTSEC-2019-0017

    Dashboard / Vulnerabilities / RUSTSEC-2019-0017

    RUSTSEC-2019-0017

    Published: 1 Sept 2019Last Modified: 8 Nov 2023

    Summary: Panic during initialization of Lazy<T> might trigger undefined behavior

    Details: If during the first dereference of Lazy<T> the initialization function panics, subsequent dereferences will execute `std::hints::unreachable_unchecked`. Applications with `panic = "abort"` are not affected, as there will be no subsequent dereferences.

    Affected packages

    Package

    Name: once_cell

    Purl: pkg:cargo/once_cell

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.2.5
    Fixed -1.0.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