Heap-use-after-free in .tmpoLlNv4 in wasmtime
Summary
OSV-2022-590: Heap-use-after-free in .tmpoLlNv4. Affects wasmtime versions >= 80976b6fc7558ddd0ef71894c5e4a89346e260e6, < 2154c63de94e0372bca5a596c3eaf90147c922d1. Fixed in 2154c63de94e0372bca5a596c3eaf90147c922d1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
wasmtime is an open-source runtime for WebAssembly and WASI (WebAssembly System Interface) that allows executing WebAssembly modules outside of a web browser. It provides a safe and efficient environment for running WebAssembly code. However, a vulnerability has been discovered in the .tmpoLlNv4 function of wasmtime, which can lead to a heap-use-after-free issue.
Vulnerability Detail
The vulnerability in .tmpoLlNv4 function of wasmtime is a heap-use-after-free issue. This occurs when a program attempts to access memory that has already been freed. An attacker can exploit this vulnerability by crafting a malicious WebAssembly module that triggers the use of freed memory, potentially leading to arbitrary code execution or a crash. The vulnerability has been assigned a severity rating of HIGH.
How To Fix
Minimum fixed version
2154c63de94e0372bca5a596c3eaf90147c922d1
This is the first release that contains the fix.
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
Currently, there is no known workaround for this vulnerability. It is recommended to apply the fix mentioned above by updating to the latest version of wasmtime.
Conclusion
In conclusion, a heap-use-after-free vulnerability has been discovered in the .tmpoLlNv4 function of wasmtime. This vulnerability can be exploited by an attacker to execute arbitrary code or cause a crash. It is crucial to update to the latest version of wasmtime that includes the fix to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for wasmtime →
FAQ
wasmtime is an open-source runtime for WebAssembly and WASI (WebAssembly System Interface) that allows executing WebAssembly modules outside of a web browser.
A heap-use-after-free vulnerability occurs when a program attempts to access memory that has already been freed. This can lead to crashes or potentially allow an attacker to execute arbitrary code.
An attacker can exploit this vulnerability by crafting a malicious WebAssembly module that triggers the use of freed memory in the .tmpoLlNv4 function of wasmtime.
This vulnerability has been assigned a severity rating of HIGH.
Currently, there is no known workaround for this vulnerability. It is recommended to update to the latest version of wasmtime that includes the fix.
References
Related vulnerabilities
Recent vulnerabilities recorded for wasmtime.