GHSA-8xw8-mmqv-frqq
JSON

high

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

Severity
high rating by GitHub
Published
Last changed
Also known as
RUSTSEC-2020-0013

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

Product or packageVersionsReported by
fake-static (crates.io)up to 0.1.0, from 0.0.0-0GitHub Advisory Database, RustSec Advisory Database

Classification

What each source says

GitHub Advisory Database

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

RustSec Advisory Database

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

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-8xw8-mmqv-frqq changed 2023-11-08CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2020-0013 changed 2023-11-08CC0-1.0