Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

nvd логотип

CVE-2021-39219

Опубликовано: 17 сент. 2021
Источник: nvd
CVSS3: 6.3
CVSS3: 6.3
CVSS2: 3.3
EPSS Низкий

Описание

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

Уязвимые конфигурации

Конфигурация 1
cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:*:*:*
Версия до 0.30.0 (исключая)
Конфигурация 2

Одно из

cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*

EPSS

Процентиль: 22%
0.00074
Низкий

6.3 Medium

CVSS3

6.3 Medium

CVSS3

3.3 Low

CVSS2

Дефекты

CWE-843

Связанные уязвимости

CVSS3: 6.3
debian
больше 4 лет назад

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

CVSS3: 6.3
github
больше 4 лет назад

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

EPSS

Процентиль: 22%
0.00074
Низкий

6.3 Medium

CVSS3

6.3 Medium

CVSS3

3.3 Low

CVSS2

Дефекты

CWE-843