Files
advisory-db/crates/scottqueue/RUSTSEC-2020-0133.md
2021-01-30 23:02:50 -05:00

18 lines
539 B
Markdown

```toml
[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"]
[versions]
patched = []
```
# Queue<T> 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.