Skip to content
OpenAdvisories
High GHSA-8xw8-mmqv-frqq RUSTSEC-2020-0013

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

Published Aug 25, 2021 · Updated Nov 8, 2023 · Assigned by GHSA

Description

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

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io fake-static <= 0.1.0 — GHSA-8xw8-mmqv-frqq
crates.io fake-static >= 0.0.0-0 — RUSTSEC-2020-0013

References