From f1e7c48600e0c5db93db26ff075af6d3eac77c8f Mon Sep 17 00:00:00 2001 From: "pinkforest(she/her)" <36498018+pinkforest@users.noreply.github.com> Date: Fri, 13 Jan 2023 00:12:31 +1100 Subject: [PATCH] Add wasmtime CVE-2022-39393 (#1509) --- crates/wasmtime/RUSTSEC-0000-0000.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 crates/wasmtime/RUSTSEC-0000-0000.md diff --git a/crates/wasmtime/RUSTSEC-0000-0000.md b/crates/wasmtime/RUSTSEC-0000-0000.md new file mode 100644 index 0000000..de50913 --- /dev/null +++ b/crates/wasmtime/RUSTSEC-0000-0000.md @@ -0,0 +1,20 @@ +```toml +[advisory] +id = "RUSTSEC-0000-0000" +package = "wasmtime" +date = "2022-11-10" +url = "https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-wh6w-3828-g9qf" +references = ["https://github.com/bytecodealliance/wasmtime/commit/2614f2e9d2d36805ead8a8da0fa0c6e0d9e428a0", "https://github.com/bytecodealliance/wasmtime/commit/3535acbf3be032ef1ba0b469b8ab92538a8a18a6"] +categories = ["memory-exposure"] +keywords = ["use-after-free", "Wasm", "garbage collection"] +aliases = ["CVE-2022-39393", "GHSA-wh6w-3828-g9qf"] + +[versions] +patched = [">= 2.0.2"] +``` + +# Bug in pooling instance allocator + +bug in Wasmtime's implementation of its pooling instance allocator where when a linear memory is reused for another instance the initial heap snapshot of the prior instance can be visible, erroneously to the next instance. + +Mitigations are described [here](https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-wh6w-3828-g9qf).