GHSA-8xw8-mmqv-frqq
high
fake-static allows converting any reference into a `'static` reference
- Severity
- high rating by GitHub
- Published
- Last changed
- Also known as
- RUSTSEC-2020-0013
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
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| fake-static (crates.io) | up to 0.1.0, from 0.0.0-0 | GitHub Advisory Database, RustSec Advisory Database |
Classification
What each source says
GitHub Advisory Database
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
RustSec Advisory Database
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:
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-8xw8-mmqv-frqq changed 2023-11-08 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2020-0013 changed 2023-11-08 | CC0-1.0 |