
Cloud Vulnerability DB
A community-led vulnerabilities database
The vulnerability (RUSTSEC-2020-0164) was identified in the cell-project Rust crate, specifically related to incorrect variance implementation. The issue allows code that should not compile due to incorrect handling of Cell projections and Drop implementations to successfully compile, potentially leading to undefined behavior (GitHub Issue).
The vulnerability manifests when using cell projections with Drop implementations where the cell projection should be invariant in the borrow of the cell. The issue becomes apparent when running the affected code under Miri (Rust's experimental interpreter for detecting undefined behavior), which reveals memory safety violations related to invalid operations in the stacked borrows model (GitHub Issue).
The vulnerability can lead to undefined behavior in Rust programs using the cell-project crate, potentially compromising memory safety guarantees that Rust typically provides. When exploited, it could result in memory corruption or other undefined behavior that bypasses Rust's type system safeguards (GitHub Issue).
The vulnerability can be triggered through specific code patterns involving Cell projections and Drop implementations. A proof-of-concept exists demonstrating how the issue can be exploited to create undefined behavior that is detectable by Miri (GitHub Issue).
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."