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
.
Lib.rs has been able to verify that all files in the crate's tarball are in the crate's repository. Please note that this check is still in beta, and absence of this confirmation does not mean that the files don't match.
Crates in the crates.io registry are tarball snapshots uploaded by crates' publishers. The registry is not using crates' git repositories, so there is a possibility that published crates have a misleading repository URL, or contain different code from the code in the repository.
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