CVE-2022-39393

High

Description

Wasmtime is a standalone runtime for WebAssembly. Prior to versions 2.0.2 and 1.0.2, there is a bug in Wasmtime's implementation of its pooling instance allocator where when a linear memory is reused for another instance the initial heap snapshot of the prior instance can be visible, erroneously to the next instance. This bug has been patched and users should upgrade to Wasmtime 2.0.2 and 1.0.2. Other mitigations include disabling the pooling allocator and disabling the `memory-init-cow`.

SeverityHigh
CVSS8.6
Exploit probability—
ProductBytecodealliance Wasmtime
PublishedNov 10, 2022
First seenNov 10, 2022
Weakness typeCWE-226CWE-226

How to fix

Update
  • bytecodealliance wasmtime1.0.2, 2.0.2 or later

Affected products

ProductAffected versionsFixed in
bytecodealliance wasmtimev < 1.0.2, 2.0.0 ≤ v < 2.0.21.0.2, 2.0.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.