diff --git a/crates/scanner/RUSTSEC-0000-0000.md b/crates/scanner/RUSTSEC-0000-0000.md new file mode 100644 index 0000000000..e55fb90984 --- /dev/null +++ b/crates/scanner/RUSTSEC-0000-0000.md @@ -0,0 +1,22 @@ +```toml +[advisory] +id = "RUSTSEC-0000-0000" +package = "scanner" +date = "2025-03-27" +informational = "unsound" +categories = ["memory-corruption"] +keywords = ["out-of-bounds read"] +url = "https://github.com/pombredanne/scanner-rs/pull/1" + +[affected.functions] +"scanner::Match::get" = ["<= 0.1.0"] +"scanner::Match::ptr" = ["<= 0.1.0"] + +[versions] +patched = [] +unaffected = [] +``` + +# Public API without sufficient bounds checking + +`Match::get()` and `Match::ptr()` lack sufficient bounds checks, leading to potential out of bounds reads. \ No newline at end of file