From 1e1e0538a83032a44a33a7c4e596ff9e4dc47b17 Mon Sep 17 00:00:00 2001 From: JOE1994 Date: Tue, 19 Jan 2021 10:45:33 -0500 Subject: [PATCH] eventio: Input' can send non-Send types to other threads --- crates/eventio/RUSTSEC-0000-0000.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 crates/eventio/RUSTSEC-0000-0000.md diff --git a/crates/eventio/RUSTSEC-0000-0000.md b/crates/eventio/RUSTSEC-0000-0000.md new file mode 100644 index 0000000..eb49727 --- /dev/null +++ b/crates/eventio/RUSTSEC-0000-0000.md @@ -0,0 +1,20 @@ +```toml +[advisory] +id = "RUSTSEC-0000-0000" +package = "eventio" +date = "2020-12-20" +url = "https://github.com/petabi/eventio/issues/33" +categories = ["memory-corruption"] + +[versions] +patched = [] +``` + +# Soundness issue: Input can be misused to create data race to an object + +`Input` implements `Send` without requiring `R: Send`. + +Affected versions of this crate allows users to send non-Send types to other threads, +which can lead to undefined behavior such as data race and memory corruption. + +The flaw was corrected in the PR(https://github.com/petabi/eventio/pull/34) by adding `R: Send` bound to the `Send` impl of `Input`.