RUSTSEC-2020-0013

    Dashboard / Vulnerabilities / RUSTSEC-2020-0013

    RUSTSEC-2020-0013

    Published: 24 Apr 2020Last Modified: 8 Nov 2023

    Summary: fake-static allows converting any reference into a `'static` reference

    Details: fake-static allows converting a reference with any lifetime into a reference with `'static` lifetime without the `unsafe` keyword. Internally, this crate does not use unsafe code, it instead exploits a soundness bug in rustc: https://github.com/rust-lang/rust/issues/25860

    Affected packages

    Package

    Name: fake-static

    Purl: pkg:cargo/fake-static

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