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

610 B

[advisory]
id = "RUSTSEC-2020-0111"
package = "may_queue"
date = "2020-11-10"
url = "https://github.com/Xudong-Huang/may/issues/88"
categories = ["memory-corruption", "thread-safety"]
keywords = ["concurrency"]

[versions]
patched = []

may_queue's Queue lacks Send/Sync bound for its Send/Sync trait.

Affected versions of may_queue implements Send/Sync for its Queue type without restricting it to Sendable types and Syncable types.

This allows non-Sync types such as Cell to be shared across threads leading to undefined behavior and memory corruption in concurrent programs.