Vulnerability DatabaseGHSA-8xw8-mmqv-frqq

GHSA-8xw8-mmqv-frqq
Rust vulnerability analysis and mitigation

Overview

The fake-static vulnerability (GHSA-8xw8-mmqv-frqq) is a high-severity issue discovered in the Rust programming language's fake-static crate, affecting versions <= 0.1.0. The vulnerability was reported on April 24, 2020, and published to the GitHub Advisory Database on August 25, 2021. The issue allows converting any reference with any lifetime into a reference with 'static lifetime without using the unsafe keyword, which poses significant security risks (GitHub Advisory, RustSec Advisory).

Technical details

The vulnerability exploits a soundness bug in the Rust compiler (rustc) related to the combination of variance and implied bounds for nested references. The issue doesn't use unsafe code directly but instead leverages a type system weakness that allows for unauthorized lifetime conversions. This is tracked in the Rust compiler as issue #25860, which demonstrates how the type system can be manipulated to create invalid reference lifetimes (Rust Issue).

Impact

The vulnerability allows for the creation of invalid reference lifetimes, which can lead to memory safety violations in Rust programs. By converting references to 'static lifetime without proper validation, the vulnerability bypasses Rust's memory safety guarantees, potentially leading to undefined behavior and security issues (GitHub Advisory).

Mitigation and workarounds

Currently, there are no patched versions available for the fake-static crate. The recommended mitigation is to avoid using the fake-static crate entirely and to ensure proper lifetime management in Rust code (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22257HIGH8.8
  • RustRust
  • salvo
NoYesJan 08, 2026
CVE-2026-22698HIGH8.7
  • RustRust
  • sm2
NoNoJan 10, 2026
CVE-2026-22699HIGH7.5
  • RustRust
  • sm2
NoNoJan 10, 2026
GHSA-g59m-gf8j-gjf5LOW3.7
  • RustRust
  • aws-sdk-eventbridge
NoYesJan 08, 2026
GHSA-585q-cm62-757jLOW2
  • RustRust
  • mnl
NoNoJan 09, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management