CVE-2022-39393

Improper Removal of Sensitive Information Before Storage or Transfer in pypi/wasmtime

Identifiers

CVE-2022-39393, GHSA-wh6w-3828-g9qf

Package Slug

pypi/wasmtime

Vulnerability

Improper Removal of Sensitive Information Before Storage or Transfer

Description

Wasmtime is a standalone runtime for WebAssembly. Prior to version 2.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. Other mitigations include disabling the pooling allocator and disabling the memory-init-cow.

Affected Versions

All versions before 1.0.2, all versions starting from 2.0.0 before 2.0.2

Solution

Upgrade to version 1.0.2, 2.0.2 or above.

Last Modified

2022-11-18

source