GHSA-jh2g-xhqq-x4w9
Dashboard / Vulnerabilities / GHSA-jh2g-xhqq-x4w9
GHSA-jh2g-xhqq-x4w9
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://github.com/Xudong-Huang/rcu_cell/issues/3, https://github.com/Xudong-Huang/rcu_cell/pull/4/commits/1faf18eee11f14969b77ae0f76dcd9ebd437d0c2, https://github.com/Xudong-Huang/rcu_cell, https://rustsec.org/advisories/RUSTSEC-2020-0131.html
Affected packages
Package
Name: rcu_cell
Purl: pkg:cargo/rcu_cell
Affected ranges
Type: SEMVER
Events:
