Vulnerability DatabaseGHSA-48m6-wm5p-rr6h

GHSA-48m6-wm5p-rr6h
Rust vulnerability analysis and mitigation

Overview

A high-severity vulnerability was discovered in the self_cell Rust package affecting versions prior to 1.0.2. The issue was reported on November 9, 2023, and officially published to the GitHub Advisory Database on November 14, 2023. The vulnerability stems from an insufficient covariance check mechanism that failed to properly validate dependent type markings (GitHub Advisory, RustSec Advisory).

Technical details

The vulnerability arose from an insufficient implementation of the _assert_covariance check, which failed to properly verify whether users had correctly marked dependent types as either covariant or not_covariant. This weakness allowed developers to incorrectly mark invariant types (particularly those involving trait object lifetimes) as covariant. A specific example of this issue involves the type Dependent<'a> = RefCell<Box<dyn fmt::Display + 'a>>, which could be incorrectly marked as covariant despite being invariant (GitHub Issue).

Impact

The vulnerability could lead to undefined behavior in purely safe user code, potentially compromising the safety guarantees that Rust typically provides. This is particularly concerning as it could manifest in production systems without requiring unsafe code blocks (GitHub Advisory).

Mitigation and workarounds

The issue has been patched in versions 0.10.3 and 1.0.2 of the self_cell package. The fix implements a more robust compile-time error detection system that prevents marking invariant types as covariant. Users are strongly advised to upgrade to these patched versions (GitHub Advisory, RustSec 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-22863CRITICAL9.2
  • RustRust
  • deno
NoYesJan 15, 2026
CVE-2026-23519HIGH8.9
  • RustRust
  • cmov
NoYesJan 15, 2026
RUSTSEC-2026-0003HIGH8.9
  • RustRust
  • cmov
NoYesJan 14, 2026
CVE-2026-22864HIGH8.1
  • RustRust
  • deno
NoYesJan 15, 2026
CVE-2026-22782LOW2.9
  • RustRust
  • rustfs
NoYesJan 16, 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