From 47061ba3104e3b4fa7ca114cbc24ebc51e90525c Mon Sep 17 00:00:00 2001 From: Yechan Bae Date: Mon, 18 Jan 2021 15:50:10 -0500 Subject: [PATCH] Report 0025-im to RustSec --- crates/im/RUSTSEC-0000-0000.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 crates/im/RUSTSEC-0000-0000.md diff --git a/crates/im/RUSTSEC-0000-0000.md b/crates/im/RUSTSEC-0000-0000.md new file mode 100644 index 0000000..5409d96 --- /dev/null +++ b/crates/im/RUSTSEC-0000-0000.md @@ -0,0 +1,19 @@ +```toml +[advisory] +id = "RUSTSEC-0000-0000" +package = "im" +date = "2020-11-09" +url = "https://github.com/bodil/im-rs/issues/157" +informational = "unsound" + +[versions] +patched = [] +unaffected = ["< 12.0.0"] +``` + +# TreeFocus lacks bounds on its Send and Sync traits + +Affected versions of `im` contains `TreeFocus` that unconditionally implements `Send` and `Sync`. + +This allows a data race in safe Rust code if `TreeFocus` is extracted from `Focus` type. +Typical users that only use `Focus` type are not affected. \ No newline at end of file