Логотип exploitDog
bind:CVE-2021-39219
Консоль
Логотип exploitDog

exploitDog

bind:CVE-2021-39219

Количество 3

Количество 3

nvd логотип

CVE-2021-39219

больше 4 лет назад

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

CVSS3: 6.3
EPSS: Низкий
debian логотип

CVE-2021-39219

больше 4 лет назад

Wasmtime is an open source runtime for WebAssembly & WASI. Wasmtime be ...

CVSS3: 6.3
EPSS: Низкий
github логотип

GHSA-q879-9g95-56mx

больше 4 лет назад

Wrong type for `Linker`-define functions when used across two `Engine`s

CVSS3: 6.3
EPSS: Низкий

Уязвимостей на страницу

Уязвимость
CVSS
EPSS
Опубликовано
nvd логотип
CVE-2021-39219

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

CVSS3: 6.3
0%
Низкий
больше 4 лет назад
debian логотип
CVE-2021-39219

Wasmtime is an open source runtime for WebAssembly & WASI. Wasmtime be ...

CVSS3: 6.3
0%
Низкий
больше 4 лет назад
github логотип
GHSA-q879-9g95-56mx

Wrong type for `Linker`-define functions when used across two `Engine`s

CVSS3: 6.3
0%
Низкий
больше 4 лет назад

Уязвимостей на страницу