QID 996226
Date Published: 2023-12-13
QID 996226: Rust (Rust) Security Update for cranelift-codegen (GHSA-xm67-587q-r2vw)
Wasmtime's code generation backend, Cranelift, has a bug on x86_64 platforms for the WebAssembly i8x16.select instruction which will produce the wrong results when the same operand is provided to the instruction and some of the selected indices are greater than 16. There is an off-by-one error in the calculation of the mask to the pshufb instruction which causes incorrect results to be returned if lanes are selected from the second vector.
Successful exploitation of this vulnerability could lead to a security breach or could affect integrity, availability, and confidentiality.
Solution
Refer to Github security advisory GHSA-xm67-587q-r2vw for updates and patch information.
Vendor References
- GHSA-xm67-587q-r2vw -
github.com/advisories/GHSA-xm67-587q-r2vw
CVEs related to QID 996226
Software Advisories
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-xm67-587q-r2vw | cranelift-codegen |
|