RustSec Advisory Database
RUSTSEC-2020-0088
MPMCConsumer/Producer allows sending non-Send type across threads
Details
Affected versions of this crate unconditionally implemented Sync and Send traits for MPMCConsumer and MPMCProducer types.
This allows users to send types that do not implement Send trait across thread boundaries, which can cause a data race.
The flaw was corrected in the 2.0.1 release by adding T: Send bound to affected Sync/Send trait implementations.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| crates.io | magnetic | From 0.0.0-0 before 2.0.1 (fixed in 2.0.1) |