Advisory

RUSTSEC-2022-0097

Also known as: CVE-2022-39394, GHSA-h84q-m8rr-3v9q

Summary

Out of bounds write in wasmtime_trap_code C API function

Details

This is an entry in the RustSec database for the Wasmtime security advisory
located at
https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-h84q-m8rr-3v9q.
For more information see the GitHub-hosted security advisory.

Severity

Low Basis: CVSS v3 score 3.8, vector CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L

Dates

Published
2022-11-07 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