Lucene search

K
rustsecRustsecRUSTSEC-2020-0088
HistoryNov 29, 2020 - 12:00 p.m.

MPMCConsumer/Producer allows sending non-Send type across threads

2020-11-2912:00:00
rustsec.org
9
mpmc
consumer
producer
sync
send
data race
2.0.1
software

EPSS

0

Percentile

12.8%

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.

EPSS

0

Percentile

12.8%

Related for RUSTSEC-2020-0088