RUSTSEC-2020-0125
on 2020-11-24: convec::ConVec<T> unconditionally implements Send/Sync
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 convec
. Alternatively, you can download the tarball of convec v2.0.1 or view the source online.
Affected versions of this crate unconditionally implement Send/Sync for
ConVec<T>
. This allows users to insertT
that is not Send or not Sync.This allows users to create data races by using non-Send types like
Arc<Cell<_>>
orRc<_>
asT
inConVec<T>
. It is also possible to create data races by using types likeCell<_>
orRefCell<_>
asT
(types that areSend
but notSync
). Such data races can lead to memory corruption.CVE-2020-36445
GHSA-rpxm-vmr7-5f5f