Lucene search

K
osvGoogleOSV:GHSA-JPHW-P3M6-PJ3C
HistoryAug 25, 2021 - 8:51 p.m.

Data races in multiqueue2

2021-08-2520:51:54
Google
osv.dev
15
data races
multiqueue2
affected versions
crate
send
queue implementations
undefined behavior
t: send bound

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 OSV:GHSA-JPHW-P3M6-PJ3C