RUSTSEC-2020-0106
Dashboard / Vulnerabilities / RUSTSEC-2020-0106
RUSTSEC-2020-0106
Summary: Queues allow non-Send types to be sent to other threads, allowing data races
Details: Affected versions of this crate unconditionally implemented `Send` for types used in queue implementations (`InnerSend<RW, T>`, `InnerRecv<RW, T>`, `FutInnerSend<RW, T>`, `FutInnerRecv<RW, T>`). This allows users to send non-Send types to other threads, which can lead to data race bugs or other undefined behavior. The flaw was corrected in v0.1.7 by adding `T: Send` bound to to the `Send` impl of four data types explained above.
References: https://crates.io/crates/multiqueue2, https://rustsec.org/advisories/RUSTSEC-2020-0106.html, https://github.com/abbychau/multiqueue2/issues/10
Affected packages
Package
Name: multiqueue2
Purl: pkg:cargo/multiqueue2
Affected ranges
Type: SEMVER
Events:
