VDB
Sign up
MEDIUM5.9

GHSA-jphw-p3m6-pj3c

Data races in multiqueue2

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

crates.io/multiqueue2
Introduced in: 0Fixed in: 0.1.7

Upgrade multiqueue2 to 0.1.7 or newer (ecosystem crates.io).

References