Advisory

RUSTSEC-2022-0075

Also known as: CVE-2022-39393, GHSA-wh6w-3828-g9qf, RUSTSEC-2022-0098

Summary

Bug in pooling instance allocator

Details

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.

Mitigations are described here.

Severity

Not rated by the source.

Dates

Published
2022-11-10 12:00 UTC
Modified
2026-10-12 18:00 UTC

Affected packages and fixes

wasmtime

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 1.0.2, introduced 2.0.0, fixed 2.0.2 (semver)

Fixed versions

1.0.2, 2.0.2

Fix

  • Fixed version 1.0.2
    cargo update -p wasmtime --precise 1.0.2
  • Fixed version 2.0.2
    cargo update -p wasmtime --precise 2.0.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences