RUSTSEC-2020-0133

Queue should have a Send bound on its Send/Sync traits

Issued
Package
scottqueue (crates.io)
Type
Vulnerability
Categories
  • memory-corruption
  • thread-safety
Details
https://github.com/rossdylan/rust-scottqueue/issues/1
Patched
no patched versions

Description

Affected versions of this crate unconditionally implements Send/Sync for Queue<T>.

This allows (1) creating data races to a T: !Sync and (2) sending T: !Send to other threads, resulting in memory corruption or other undefined behavior.

More