Arbitrary Code Execution Affecting wasmtime package, versions >=10.0.0 <10.0.2 >=11.0.0 <11.0.2 >=12.0.0 <12.0.2


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.09% (39th percentile)

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-5902997
  • published 15 Sep 2023
  • disclosed 14 Sep 2023
  • credit Afonso Bordado

How to fix?

Upgrade wasmtime to version 10.0.2, 11.0.2, 12.0.2 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution due to a miscompilation in i64x2.shr_s instruction on x86_64 platforms, when the shift amount is a constant value that is larger than 32.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
2.2 low
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    High
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    Low
  • Availability (A)
    None
Expand this section

NVD

5.3 medium