{"id":"GHSA-8xw8-mmqv-frqq","aliases":["RUSTSEC-2020-0013"],"status":"published","title":"fake-static allows converting any reference into a `'static` reference","description":"fake-static allows converting a reference with any lifetime into\na reference with `'static` lifetime without the `unsafe` keyword.\n\nInternally, this crate does not use unsafe code, it instead\nexploits a soundness bug in rustc","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-657"],"published":"2020-04-24T12:00:00Z","modified":"2023-11-08T04:17:36Z","affected":[{"source":"ghsa","ecosystem":"crates.io","package":"fake-static","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.1.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"fake-static","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.1.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"fake-static","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"}]}]}],"references":[{"url":"https://github.com/rust-lang/rust/issues/25860","tags":["web"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0013.html","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-8xw8-mmqv-frqq"},{"url":"https://github.com/NieDzejkob/fake-static","tags":["package"]},{"url":"https://crates.io/crates/fake-static","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-8xw8-mmqv-frqq","title":"fake-static allows converting any reference into a `'static` reference","description":"fake-static allows converting a reference with any lifetime into\na reference with `'static` lifetime without the `unsafe` keyword.\n\nInternally, this crate does not use unsafe code, it instead\nexploits a soundness bug in rustc\n\n\n","status":"published","published":"2021-08-25T20:55:33Z","modified":"2023-01-11T05:05:29Z","cwes":["CWE-657"],"updated_at":"2026-11-02T14:36:12.361159Z"}],"osv":[{"id":"GHSA-8xw8-mmqv-frqq","title":"fake-static allows converting any reference into a `'static` reference","description":"fake-static allows converting a reference with any lifetime into\na reference with `'static` lifetime without the `unsafe` keyword.\n\nInternally, this crate does not use unsafe code, it instead\nexploits a soundness bug in rustc\n\n\n","status":"published","published":"2021-08-25T20:55:33Z","modified":"2023-11-08T04:17:36.454364Z","cwes":["CWE-657"],"updated_at":"2026-11-02T15:46:43.123867Z"},{"id":"RUSTSEC-2020-0013","title":"fake-static allows converting any reference into a `'static` reference","description":"fake-static allows converting a reference with any lifetime into\na reference with `'static` lifetime without the `unsafe` keyword.\n\nInternally, this crate does not use unsafe code, it instead\nexploits a soundness bug in rustc:\n\nhttps://github.com/rust-lang/rust/issues/25860","status":"published","published":"2020-04-24T12:00:00Z","modified":"2023-11-08T04:17:36.454364Z","updated_at":"2026-11-02T15:53:39.492624Z"}]}}
