{"id":"GHSA-8xw8-mmqv-frqq","aliases":["GHSA-8xw8-mmqv-frqq","RUSTSEC-2020-0013"],"related":[],"kind":"vulnerability","state":"published","title":"fake-static allows converting any reference into a `'static` reference","summary":"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","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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","format":"markdown","source":"ghsa"},{"lang":"en","text":"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","format":"markdown","source":"rustsec"}],"published":"2020-04-24T12:00:00.000Z","modified":"2023-11-08T04:17:36.454Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-657"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.1.0"}],"ecosystem":"crates.io","package":"fake-static","purl":"pkg:cargo/fake-static","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected"}],"ecosystem":"crates.io","package":"fake-static","purl":"pkg:cargo/fake-static","source":"rustsec"}],"references":[{"url":"https://github.com/rust-lang/rust/issues/25860","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/NieDzejkob/fake-static","tags":["package"],"sources":["ghsa"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0013.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/fake-static","tags":["package"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8xw8-mmqv-frqq","url":"https://github.com/advisories/GHSA-8xw8-mmqv-frqq","licence":"CC-BY-4.0","modified":"2023-11-08T04:17:36.454Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2020-0013","url":"https://rustsec.org/advisories/RUSTSEC-2020-0013.html","licence":"CC0-1.0","modified":"2023-11-08T04:17:36.454Z"}],"updatedAt":"2026-11-25T22:56:42.945Z"}