PT-2024-41432 · Crates.Io · Wasmtime-Jit-Debug
Published
2024-07-06
·
Updated
2024-07-06
None
No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
The unsound function
dump code load record uses from raw parts to directly convert
the pointer addr and len into a slice without any validation and that memory block
would be dumped.Thus, the 'safe' function dump code load record is actually 'unsafe' since it requires
the caller to guarantee that the addr is valid and len must not overflow.
Otherwise, the function could dump the memory into file illegally, causing memory leak.
Note: this is an internal-only crate in the Wasmtime project not intended for external use and is more strongly signaled nowadays as of bytecodealliance/wasmtime#10963. Please open an issue in Wasmtime if you're using this crate directly.
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Wasmtime-Jit-Debug