Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. fake-static
  4. ›
  5. GHSA-8xw8-mmqv-frqq

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

August 25, 2021

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

  • github.com/NieDzejkob/fake-static
  • github.com/advisories/GHSA-8xw8-mmqv-frqq
  • github.com/rust-lang/rust/issues/25860
  • rustsec.org/advisories/RUSTSEC-2020-0013.html

Code Behaviors & Features

Detect and mitigate GHSA-8xw8-mmqv-frqq with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 0.1.0

Solution

Unfortunately, there is no solution available yet.

Weakness

  • CWE-657: Violation of Secure Design Principles

Source file

cargo/fake-static/GHSA-8xw8-mmqv-frqq.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:41 +0000.