Files
advisory-db/crates/scottqueue/RUSTSEC-2020-0133.md

568 B

[advisory]
id = "RUSTSEC-2020-0133"
package = "scottqueue"
date = "2020-11-15"
url = "https://github.com/rossdylan/rust-scottqueue/issues/1"
categories = ["memory-corruption", "thread-safety"]
aliases = ["CVE-2020-36453"]

[versions]
patched = []

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

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.