Files
advisory-db/crates/fake-static/RUSTSEC-2020-0013.md
2023-06-13 15:10:24 +02:00

501 B

[advisory]
id = "RUSTSEC-2020-0013"
package = "fake-static"
date = "2020-04-24"
aliases = ["GHSA-8xw8-mmqv-frqq"]

[versions]
patched = []

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

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