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`.