SB2023032006 - Multiple vulnerabilities in Bytecode Alliance Wasmtime
Published: March 20, 2023 Updated: January 18, 2024
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 2 secuirty vulnerabilities.
1) Out-of-bounds write (CVE-ID: CVE-2023-26489)
The vulnerability allows a remote attacker to compromise vulnerable system.
The vulnerability exists due to a boundary error when processing untrusted input on x86_64. A remote user can trigger an out-of-bounds write and execute arbitrary code on the target system.
2) Input validation error (CVE-ID: CVE-2023-27477)
The vulnerability allows a remote attacker to compromise the target system.
The vulnerability exists due to miscompilation of "i8x16.select" with the same inputs on x86_64. A remote user can cause the WebAssembly instruction to produce incorrect results for the i8x16.select instruction.
Remediation
Install update from vendor's website.
References
- https://groups.google.com/a/bytecodealliance.org/g/sec-announce/c/Mov-ItrNJsQ
- https://docs.rs/wasmtime/latest/wasmtime/struct.Config.html#method.static_memory_guard_size
- https://github.com/bytecodealliance/wasmtime/commit/63fb30e4b4415455d47b3da5a19d79c12f4f2d1f
- https://docs.rs/wasmtime/latest/wasmtime/struct.Config.html#method.static_memory_maximum_size
- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-ff4p-7xrq-q5r8
- https://docs.rs/wasmtime/latest/wasmtime/struct.Config.html#method.wasm_simd
- https://github.com/webassembly/simd
- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-xm67-587q-r2vw
- https://github.com/bytecodealliance/wasmtime/commit/5dc2bbccbb363e474d2c9a1b8e38a89a43bbd5d1