Incorrect SIMD results via off-by-one shuffle immediate
Published Sep 15, 2023 · Updated Sep 24, 2024
Incorrect SIMD code generation in Bytecode Alliance Wasmtime allows attackers to alter WebAssembly computation results on x86_64 hosts. Cranelift supplies pshufd with an off-by-one shuffle immediate while lowering i64x2.shr_s with a constant shift above 32, sourcing the second lane's low half from the input's low rather than high 32 bits. Exploitation requires execution of attacker-controlled code containing that instruction on an affected x86_64 host; the error changes guest results but does not escape the WebAssembly sandbox.
Summary
What happened
Incorrect SIMD code generation in Bytecode Alliance Wasmtime allows attackers to alter WebAssembly computation results on x86_64 hosts. Cranelift supplies pshufd with an off-by-one shuffle immediate while lowering i64x2.shr_s with a constant shift above 32, sourcing the second lane's low half from the input's low rather than high 32 bits. Exploitation requires execution of attacker-controlled code containing that instruction on an affected x86_64 host; the error changes guest results but does not escape the WebAssembly sandbox.
The record
- CVE
- CVE-2023-41880
- Published
- Sep 15, 2023
- Updated
- Sep 24, 2024
- Vendor
- Bytecode Alliance
- Product
- Wasmtime
- Classifications
- CWE-193
- Attack vector
- network
- Privileges
- Unavailable
Timeline
How it unfolded
- Sep 15, 2023CVE publishedPublication date reported by the CVE source.
- Sep 24, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 10.0.0, < 10.0.2
- Affected versionversion=>= 11.0.0, < 11.0.2
- Affected versionversion=>= 12.0.0, < 12.0.2
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo