diff --git a/crates/thex/RUSTSEC-0000-0000.md b/crates/thex/RUSTSEC-0000-0000.md new file mode 100644 index 0000000..e1fe792 --- /dev/null +++ b/crates/thex/RUSTSEC-0000-0000.md @@ -0,0 +1,19 @@ +```toml +[advisory] +id = "RUSTSEC-0000-0000" +package = "thex" +date = "2020-12-08" +categories = ["memory-corruption"] +keywords = ["concurrency"] + +[versions] +patched = [] +``` + +# Thex allows data races of non-Send types across threads + +`thex::Thex` 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.