
Cloud Vulnerability DB
A community-led vulnerabilities database
A high-severity vulnerability was discovered in the qcell Rust package affecting versions prior to 0.4.3. The vulnerability (GHSA-9c9f-7x9p-4wqp) allows malicious coders to gain unsound access to TCell or TLCell memory through carefully constructed marker types, potentially leading to unauthorized memory access. The issue was discovered and reported on January 24, 2022, and was subsequently patched in version 0.4.3 (GitHub Advisory, RustSec Advisory).
The vulnerability stems from the covariant Q parameter in TCellOwner and TLCellOwner implementations. By exploiting this covariance, attackers can bypass the singleton check in these components, potentially obtaining multiple mutable references to the same memory location or simultaneously acquiring both mutable and immutable references. The issue manifests through careful construction of marker types to be covariant, which allows circumvention of the intended memory safety guarantees (GitHub Issue).
When exploited, this vulnerability can lead to unsound memory access, allowing attackers to obtain multiple mutable references to the same memory location or simultaneous mutable and immutable references. This breaks Rust's fundamental memory safety guarantees and could potentially lead to memory corruption or data races (RustSec Advisory).
The vulnerability has been patched in version 0.4.3 of the qcell crate. The fix involves forcing the marker type to be invariant internally, which prevents the conversion between covariant types that Rust normally allows. Users are strongly advised to upgrade to version 0.4.3 or later (RustSec Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."