Runtime misbehavior via aliased VMContext mutation
Published Apr 27, 2023 · Updated Jan 30, 2025
Undefined behavior in Wasmtime before 6.0.2 and versions 7.0.0 and 8.0.0 allows attackers to trigger runtime misbehavior during WebAssembly execution. The Instance allocation appends a runtime-layout VMContext, while methods taking &self mutate derived pointers that LLVM marks noalias and readonly, allowing critical writes to be removed. Known incorrect compilation requires Rust 1.70 or later with LLVM 16; official precompiled releases used LLVM 15, and the resulting security consequences remain unspecified.
Summary
What happened
Undefined behavior in Wasmtime before 6.0.2 and versions 7.0.0 and 8.0.0 allows attackers to trigger runtime misbehavior during WebAssembly execution. The Instance allocation appends a runtime-layout VMContext, while methods taking &self mutate derived pointers that LLVM marks noalias and readonly, allowing critical writes to be removed. Known incorrect compilation requires Rust 1.70 or later with LLVM 16; official precompiled releases used LLVM 15, and the resulting security consequences remain unspecified.
The record
- CVE
- CVE-2023-30624
- Published
- Apr 27, 2023
- Updated
- Jan 30, 2025
- Vendor
- Bytecode Alliance
- Product
- Wasmtime
- Classifications
- CWE-758
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 27, 2023CVE publishedPublication date reported by the CVE source.
- Jan 30, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 6.0.2
- Affected versionversion== 7.0.0
- Affected versionversion== 8.0.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo