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

exploitDog

nvd логотип

CVE-2022-31104

Опубликовано: 28 июн. 2022
Источник: nvd
CVSS3: 4.8
CVSS3: 5.6
CVSS2: 6.8
EPSS Низкий

Описание

Wasmtime is a standalone runtime for WebAssembly. In affected versions wasmtime's implementation of the SIMD proposal for WebAssembly on x86_64 contained two distinct bugs in the instruction lowerings implemented in Cranelift. The aarch64 implementation of the simd proposal is not affected. The bugs were presented in the i8x16.swizzle and select WebAssembly instructions. The select instruction is only affected when the inputs are of v128 type. The correspondingly affected Cranelift instructions were swizzle and select. The swizzle instruction lowering in Cranelift erroneously overwrote the mask input register which could corrupt a constant value, for example. This means that future uses of the same constant may see a different value than the constant itself. The select instruction lowering in Cranelift wasn't correctly implemented for vector types that are 128-bits wide. When the condition was 0 the wrong instruction was used to move the correct input to the output of t

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

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

Одно из

cpe:2.3:a:bytecodealliance:cranelift-codegen:*:*:*:*:*:rust:*:*
Версия до 0.85.0 (исключая)
cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:rust:*:*
Версия до 0.38.1 (исключая)

EPSS

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

4.8 Medium

CVSS3

5.6 Medium

CVSS3

6.8 Medium

CVSS2

Дефекты

CWE-682

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

msrc
5 месяцев назад

Miscompilation of `i8x16.swizzle` and `select` with v128 inputs in Wasmtime

CVSS3: 4.8
debian
больше 3 лет назад

Wasmtime is a standalone runtime for WebAssembly. In affected versions ...

CVSS3: 4.8
github
больше 3 лет назад

Miscompilation of `i8x16.swizzle` and `select` with v128 inputs

EPSS

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

4.8 Medium

CVSS3

5.6 Medium

CVSS3

6.8 Medium

CVSS2

Дефекты

CWE-682