Files
advisory-db/crates/thex/RUSTSEC-2020-0090.md
2021-01-04 09:02:59 -08:00

500 B

[advisory]
id = "RUSTSEC-2020-0090"
package = "thex"
aliases = ["CVE-2020-35927"]
date = "2020-12-08"
categories = ["memory-corruption"]
keywords = ["concurrency"]

[versions]
patched = []

Thex allows data races of non-Send types across threads

thex::Thex<T> implements Sync for all types T. However, it is missing a bound for T: Send.

This allows non-Send types such as Rc to be sent across thread boundaries which can trigger undefined behavior and memory corruption.