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. Learn more

Threat Intelligence

EPSS
0.09% (42nd 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 IDSNYK-RUST-WASMTIME-5902997
  • published15 Sept 2023
  • disclosed14 Sept 2023
  • creditAfonso Bordado

Introduced: 14 Sep 2023

CVE-2023-41880  (opens in a new tab)
CWE-193  (opens in a new tab)

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