ADVISORIES

GitHub Advisory Database

GHSA-686h-j8r8-wmfm

Data races in rcu_cell

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.

Affected packages

EcosystemPackageAffected versions
crates.iorcu_cell
All versions before 0.1.9 (fixed in 0.1.9)

References