Lucene search

K
rustsecRustsecRUSTSEC-2020-0106
HistoryDec 19, 2020 - 12:00 p.m.

Queues allow non-Send types to be sent to other threads, allowing data races

2020-12-1912:00:00
rustsec.org
7
queues
non-send types
threads
data races
vulnerabilities
version 0.1.7

EPSS

0.001

Percentile

46.4%

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.

EPSS

0.001

Percentile

46.4%

Related for RUSTSEC-2020-0106