RUSTSEC-2020-0131
Dashboard / Vulnerabilities / RUSTSEC-2020-0131
RUSTSEC-2020-0131
Published: 14 Nov 2020Last Modified: 8 Nov 2023
Aliases:
Summary: Send/Sync bound needed on T for Send/Sync impl of RcuCell<T>
Details: Affected versions of this crate unconditionally implement Send/Sync for `RcuCell<T>`. This allows users to send `T: !Send` to other threads (while `T` enclosed within `RcuCell<T>`), and allows users to concurrently access `T: !Sync` by using the APIs of `RcuCell<T>` that provide access to `&T`. This can result in memory corruption caused by data races.
References: https://crates.io/crates/rcu_cell, https://rustsec.org/advisories/RUSTSEC-2020-0131.html, https://github.com/Xudong-Huang/rcu_cell/issues/3
Affected packages
Package
Name: rcu_cell
Purl: pkg:cargo/rcu_cell
Affected ranges
Type: SEMVER
Events:
Introduced- 0.0.0-0
Fixed -None
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
