Описание
Wasmtime is an open source runtime for WebAssembly & WASI. Wasmtime before version 0.30.0 is affected by a type confusion vulnerability. As a Rust library the wasmtime crate clearly marks which functions are safe and which are unsafe, guaranteeing that if consumers never use unsafe then it should not be possible to have memory unsafety issues in their embeddings of Wasmtime. An issue was discovered in the safe API of Linker::func_* APIs. These APIs were previously not sound when one Engine was used to create the Linker and then a different Engine was used to create a Store and then the Linker was used to instantiate a module into that Store. Cross-Engine usage of functions is not supported in Wasmtime and this can result in type confusion of function pointers, resulting in being able to safely call a function with the wrong type. Triggering this bug requires using at least two Engine values in an embedding and then additionally using two different values with a
Ссылки
- Product
- PatchThird Party Advisory
- Third Party Advisory
- Product
- PatchThird Party Advisory
- Third Party Advisory
Уязвимые конфигурации
Одно из
EPSS
6.3 Medium
CVSS3
6.3 Medium
CVSS3
3.3 Low
CVSS2
Дефекты
Связанные уязвимости
Wasmtime is an open source runtime for WebAssembly & WASI. Wasmtime be ...
Wrong type for `Linker`-define functions when used across two `Engine`s
EPSS
6.3 Medium
CVSS3
6.3 Medium
CVSS3
3.3 Low
CVSS2