# GHSA-8xw8-mmqv-frqq: fake-static allows converting any reference into a `'static` reference

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-04-24T12:00:00.000Z
- Modified: 2023-11-08T04:17:36.454Z
- Also known as: RUSTSEC-2020-0013
- Weaknesses: CWE-657

## 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

(As written by GitHub Advisory Database.)

## Affected

- fake-static (crates.io): up to 0.1.0; from 0.0.0-0

## References

- <https://github.com/rust-lang/rust/issues/25860> (web)
- <https://github.com/NieDzejkob/fake-static> (package)
- <https://rustsec.org/advisories/RUSTSEC-2020-0013.html> (advisory, web)
- <https://crates.io/crates/fake-static> (package)

## Sources

- GitHub Advisory Database: [GHSA-8xw8-mmqv-frqq](https://github.com/advisories/GHSA-8xw8-mmqv-frqq), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2020-0013](https://rustsec.org/advisories/RUSTSEC-2020-0013.html), CC0-1.0, modified 2023-11-08

---

Page: https://cve.day/GHSA-8xw8-mmqv-frqq · Whole record: https://cve.day/GHSA-8xw8-mmqv-frqq.json · Rebuilt by cve.day 2026-11-25T22:56:42.945Z
