RUSTSEC-2020-0136
on 2020-11-15: CopyCell lacks bounds on its Send trait allowing for data races
This crate has no reviews yet. To add a review, set up your cargo-crev
.
Crates in the crates.io registry are tarball snapshots uploaded by crates' publishers. The registry is not using crates' git repositories. There is absolutely no guarantee that the repository URL declared by the crate belongs to the crate, or that the code in the repository is the code inside the published tarball.
To review the actual code of the crate, it's best to use cargo crev open toolshed
. Alternatively, you can download the tarball of toolshed v0.8.1 or view the source online.
CopyCell<T>
is aCell
-like type that is implemented for any typeT
that isCopy
able. It'sSend
trait has no bounds on the contained type.As not all
Copy
able types are thread safe, for example non-mutable references implement theCopy
trait, it is possible to send references to types with interior mutability such asCell
across threads and cause data races.CVE-2020-36456
GHSA-2r6q-6c8c-g762