Advisories

Wasmtime before 36.0.21 Unbounded Host Memory Growth via AsyncWriteStream Empty Writes

Go back
Severity
medium
Date
Affecting
  • wasmtime < 36.0.21

  • wasmtime >= 37.0.0, < 48.0.9

  • wasmtime >= 49.0.0, < 49.0.6

  • wasmtime >= 50.0.0, < 50.0.2

CWE
  • CWE-770 Allocation of Resources Without Limits or Throttling
CVSS
6.9
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H
Description
wasmtime-wasi in Wasmtime before 36.0.21, 37.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 allows unbounded host memory growth because AsyncWriteStream queues zero-length writes without charging them against its write budget. A malicious guest can repeatedly call wasi:io/streams output-stream.write with empty lists, exhausting host memory and causing denial of service.

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.