Access of Uninitialized Pointer Affecting wasmtime package, versions <0.33.1>=0.34.0 <0.34.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.22% (60th 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-2404187
  • published17 Feb 2022
  • disclosed17 Feb 2022
  • creditPeter Huene

Introduced: 17 Feb 2022

CVE-2022-23636  (opens in a new tab)
CWE-824  (opens in a new tab)

How to fix?

Upgrade wasmtime to version 0.33.1, 0.34.1 or higher.

Overview

Affected versions of this package are vulnerable to Access of Uninitialized Pointer when the instance of a module that defines an externref global will result in an invalid drop of the VMExternRef.

Note: If it is not possible to upgrade to the fixed versions, it is recommend that the support for the reference types proposal will be disabled by passing false to Config::wasm_reference_types. It will will prevent modules that use externref from being loaded entirely.

CVSS Scores

version 3.1