CVE-2021-32629 is a bug in Cranelift's x64 backend (versions 0.73 and earlier with specific build flags) that can lead to a sandbox escape in WebAssembly (Wasm) programs. This occurs when a sign-extend operation is performed instead of a zero-extend on a spilled and reloaded integer value under specific conditions, potentially allowing access to memory addresses outside the Wasm program's intended heap. The vulnerability affects bytecodealliance cranelift-codegen and can impact products like Lucet and Wasmtime. With a CVSS score of 8.8 (HIGH), this vulnerability has a local attack vector (AV:L) and low attack complexity (AC:L), requiring low privileges (PR:L) and no user interaction (UI:N). It can result in high confidentiality, integrity, and availability impacts (C:H/I:H/A:H) due to potential memory access up to 2GiB before the Wasm program heap. However, its impact is mitigated by certain heap implementations, such as those with robust bounds checks or guard regions. Currently, there is no evidence of active exploitation, and no public exploit code is available on platforms like Metasploit, Nuclei, or ExploitDB. The vulnerability also shows minimal community discussion or media coverage, suggesting a low level of public attention.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
< 0.73.1CPE matchmatch criteria | cpe:2.3:a:bytecodealliance:cranelift-codegen:*:*:*:*:*:rust:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.2 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.