Skip to content

fake-static allows converting any reference into a `'static` reference

High severity GitHub Reviewed Published Aug 25, 2021 to the GitHub Advisory Database • Updated Jan 11, 2023

Package

cargo fake-static (Rust)

Affected versions

<= 0.1.0

Patched versions

None

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

References

Reviewed Aug 18, 2021
Published to the GitHub Advisory Database Aug 25, 2021
Last updated Jan 11, 2023

Severity

High

Weaknesses

CVE ID

No known CVE

GHSA ID

GHSA-8xw8-mmqv-frqq
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.