RUSTSEC-2020-0143

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

Issued
Package
multiqueue (crates.io)
Type
Vulnerability
Categories
  • memory-corruption
  • thread-safety
Details
https://github.com/schets/multiqueue/issues/31
Patched
no patched versions

Description

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.

More