From 63bf5c9b6c9d3a83f0351333646d828c078b78f6 Mon Sep 17 00:00:00 2001 From: Shihao Xia Date: Wed, 21 May 2025 12:48:36 -0400 Subject: [PATCH] shaman init --- crates/shaman/RUSTSEC-0000-0000.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 crates/shaman/RUSTSEC-0000-0000.md diff --git a/crates/shaman/RUSTSEC-0000-0000.md b/crates/shaman/RUSTSEC-0000-0000.md new file mode 100644 index 000000000..ab2097ff2 --- /dev/null +++ b/crates/shaman/RUSTSEC-0000-0000.md @@ -0,0 +1,26 @@ +```toml +[advisory] +id = "RUSTSEC-0000-0000" +package = "shaman" +date = "2025-05-06" +informational = "unsound" +url = "https://github.com/zcdziura/shaman" +categories = ["memory-corruption"] + +[affected.functions] +"shaman::cryptoutil::write_u64v_le" = ["<= 0.1.0"] +"shaman::cryptoutil::write_u32v_le" = ["<= 0.1.0"] +"shaman::cryptoutil::read_u64v_be" = ["<= 0.1.0"] +"shaman::cryptoutil::read_u64v_le" = ["<= 0.1.0"] +"shaman::cryptoutil::read_u32v_be" = ["<= 0.1.0"] +"shaman::cryptoutil::read_u32v_le" = ["<= 0.1.0"] + +[versions] +patched = [] +unaffected = [] +``` + +# soundness issue and unmaintained +`shaman::cryptoutil::write_u64v_le` and other functions mentioned above cannot garantee memory safety of get_unchecked later if both length are zero. + +`shaman` is unmaintained. \ No newline at end of file