#VU101843 Integer overflow in WebAssembly Micro Runtime - CVE-2024-27532
Published: December 19, 2024
WebAssembly Micro Runtime
Bytecode Alliance
Description
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to integer overflow within the wasm_loader_check_br() function in core/iwasm/interpreter/wasm_loader.c and core/iwasm/interpreter/wasm_mini_loader.c. A local user can trigger an integer overflow and execute arbitrary code on the target system.
Remediation
External links
- https://github.com/bytecodealliance/wasm-micro-runtime/issues/3130
- https://gist.github.com/haruki3hhh/e468ac3b3234f9bc42a9cc367457119a
- https://github.com/bytecodealliance/wasm-micro-runtime/commit/b8ff98c810f1bf8e8000f44be2f4af30a7ba43fa
- https://github.com/bytecodealliance/wasm-micro-runtime/pull/3133