Advisories

Wasmtime 50.0.0 before 50.0.2 Stale GC Heap Base Pointer Denial of Service

Go back
Severity
medium
Date
Affecting
  • wasmtime >= 50.0.0, < 50.0.2

  • wasmtime >= 49.0.0, < 49.0.6

  • wasmtime >= 47.0.0, < 48.0.9

CWE
  • CWE-125 Out-of-bounds Read
CVSS
5.7
CVSS V4 Vector
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Credit
khagankhan, fitzgen
Description
Wasmtime 47.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 does not set needs_gc_heap for collector-agnostic GC operations such as ref.test, so compiled code can reuse a stale null GC heap base pointer. A Wasm guest that tests or downcasts GC references returned by an imported host function can trigger loads in low host memory, aborting the host process.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.