RUSTSEC-2020-0013
HIGHfake-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
- Published
- 24 Apr 2020
- Last modified
- 8 Nov 2023
- Weakness
- CWE-657
- Also known as
- GHSA-8xw8-mmqv-frqq
- Sources
- OSV GHSA-8xw8-mmqv-frqqJSONOSVJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | fake-static | <= 0.1.0 | |
| OSV | crates.io | fake-static | >= 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 · WEB, ADVISORY
- https://crates.io/crates/fake-static · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Apr 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)