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

exploitDog

nvd логотип

CVE-2022-39392

Опубликовано: 10 нояб. 2022
Источник: nvd
CVSS3: 5.9
CVSS3: 7.4
EPSS Низкий

Описание

Wasmtime is a standalone runtime for WebAssembly. Prior to version 2.0.2, there is a bug in Wasmtime's implementation of its pooling instance allocator when the allocator is configured to give WebAssembly instances a maximum of zero pages of memory. In this configuration, the virtual memory mapping for WebAssembly memories did not meet the compiler-required configuration requirements for safely executing WebAssembly modules. Wasmtime's default settings require virtual memory page faults to indicate that wasm reads/writes are out-of-bounds, but the pooling allocator's configuration would not create an appropriate virtual memory mapping for this meaning out of bounds reads/writes can successfully read/write memory unrelated to the wasm sandbox within range of the base address of the memory mapping created by the pooling allocator. This bug is not applicable with the default settings of the wasmtime crate. This bug can only be triggered by setting InstanceLimits::memory_pages to zero.

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

Конфигурация 1

Одно из

cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:rust:*:*
Версия до 1.0.2 (исключая)
cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:rust:*:*
Версия от 2.0.0 (включая) до 2.0.2 (исключая)

EPSS

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

5.9 Medium

CVSS3

7.4 High

CVSS3

Дефекты

CWE-119
CWE-125

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

CVSS3: 5.9
ubuntu
около 3 лет назад

Wasmtime is a standalone runtime for WebAssembly. Prior to version 2.0.2, there is a bug in Wasmtime's implementation of its pooling instance allocator when the allocator is configured to give WebAssembly instances a maximum of zero pages of memory. In this configuration, the virtual memory mapping for WebAssembly memories did not meet the compiler-required configuration requirements for safely executing WebAssembly modules. Wasmtime's default settings require virtual memory page faults to indicate that wasm reads/writes are out-of-bounds, but the pooling allocator's configuration would not create an appropriate virtual memory mapping for this meaning out of bounds reads/writes can successfully read/write memory unrelated to the wasm sandbox within range of the base address of the memory mapping created by the pooling allocator. This bug is not applicable with the default settings of the `wasmtime` crate. This bug can only be triggered by setting `InstanceLimits::memory_pages` to ze...

CVSS3: 5.9
debian
около 3 лет назад

Wasmtime is a standalone runtime for WebAssembly. Prior to version 2.0 ...

CVSS3: 5.9
github
около 3 лет назад

Wasmtime out of bounds read/write with zero-memory-pages configuration

EPSS

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

5.9 Medium

CVSS3

7.4 High

CVSS3

Дефекты

CWE-119
CWE-125