Files
advisory-db/crates/fake-static/RUSTSEC-2020-0013.md
Jeffrey Robinson 14b29c77eb Typo in RUSTSEC-2020-0013 (#562)
Minor typo.
2021-01-14 09:57:27 -08:00

467 B

[advisory]
id = "RUSTSEC-2020-0013"
package = "fake-static"
date = "2020-04-24"

[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