From 4fafd5c990b0f25350c5f9e25035b5b616d5f592 Mon Sep 17 00:00:00 2001 From: Ammar Askar Date: Mon, 18 Jan 2021 21:28:20 -0800 Subject: [PATCH] Add advisory for data race in dces --- crates/dces/RUSTSEC-0000-0000.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 crates/dces/RUSTSEC-0000-0000.md diff --git a/crates/dces/RUSTSEC-0000-0000.md b/crates/dces/RUSTSEC-0000-0000.md new file mode 100644 index 0000000..c26d8e7 --- /dev/null +++ b/crates/dces/RUSTSEC-0000-0000.md @@ -0,0 +1,20 @@ +```toml +[advisory] +id = "RUSTSEC-0000-0000" +package = "dces" +date = "2020-12-09" +url = "https://gitlab.redox-os.org/redox-os/dces-rust/-/issues/8" +categories = ["memory-corruption"] +keywords = ["concurrency"] + +[versions] +patched = [] +``` + +# dces' World type can cause data races + +The `World` type in `dces` is marked as `Send` without bounds on its +`EntityStore` and `ComponentStore`. + +This allows non-thread safe `EntityStore` and `ComponentStore`s to be sent +across threads and cause data races.