niedzejkob/fake-static · Security
fake-static allows converting any reference into a `'static` reference
- GHSA ID
- GHSA-8xw8-mmqv-frqq
- Severity
- high
- Published
- Updated
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
CWEs
- CWE-657 · Violation of Secure Design Principles