Incorrect Calculation Affecting wasmtime package, versions <0.38.1


0.0
medium

Snyk CVSS

    Attack Complexity High

    Threat Intelligence

    EPSS 0.28% (69th percentile)
Expand this section
NVD
5.6 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-RUST-WASMTIME-2936436
  • published 28 Jun 2022
  • disclosed 28 Jun 2022
  • credit alexcrichton

How to fix?

Upgrade wasmtime to version 0.38.1 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Calculation due to incorrect semantics implementation of the i8x16.swizzle and select WebAssembly instructions.

Note: The impact of this is benign for hosts running WebAssembly but represents possible vulnerabilities within the execution of a guest program. The select instruction is only affected when the inputs are of v128 type. The aarch64 implementation of the simd proposal is not affected.