CVE-2023-27477
3.1 · LOWOverview
CVE-2023-27477 is a low-severity vulnerability affecting bytecodealliance cranelift-codegen. It was published on March 8, 2023 and has a CVSS 3.1 base score of 3.1 (LOW).
This vulnerability has a CVSS 3.1 base score of 3.1, rated LOW. It can be exploited remotely over the network. Some level of privileges is required for exploitation.
Technical Description
wasmtime is a fast and secure runtime for WebAssembly. 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. This codegen bug has been fixed in Wasmtiem 6.0.1, 5.0.1, and 4.0.1. Users are recommended to upgrade to these updated versions. If upgrading is not an option for you at this time, you can avoid this miscompilation by disabling the Wasm simd proposal. Additionally the bug is only present on x86_64 hosts. Other platforms such as AArch64 and s390x are not affected.
Remediation
Check the references section for vendor advisories and patches from bytecodealliance. Update cranelift-codegen to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.
Affected Products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| bytecodealliance | cranelift-codegen | >= 0.84.0, < 0.91.1 | Affected |
| bytecodealliance | wasmtime | >= 0.37.0, < 4.0.1 | Affected |
References
Frequently Asked Questions
What is CVE-2023-27477?
CVE-2023-27477 is a low-severity vulnerability affecting bytecodealliance cranelift-codegen. It was published on March 8, 2023 and has a CVSS 3.1 base score of 3.1 (LOW).
How severe is CVE-2023-27477?
This vulnerability has a CVSS 3.1 base score of 3.1, rated LOW. It can be exploited remotely over the network. Some level of privileges is required for exploitation.
How do I fix or remediate CVE-2023-27477?
Check the references section for vendor advisories and patches from bytecodealliance. Update cranelift-codegen to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.
How can CyberStrike help with CVE-2023-27477?
CyberStrike's AI-powered security agents can automatically detect CVE-2023-27477 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.
How CyberStrike Helps
AI agents map your attack surface to find vulnerabilities like this one.
Automated penetration testing that runs continuously, not just quarterly.
AI-driven PR review catches vulnerable dependencies before they ship.
Browser-based exploitation validates findings with real proof-of-concept.
Related LOW CVEs from 2023
View all →A CWE-668: Exposure of Resource to Wrong Sphere vulnerability exists that could cause all remote dom
All versions of Landis+Gyr E850 (ZMQ200) are vulnerable to CWE-784: Reliance on Cookies Without Vali
Dell PowerEdge BIOS and Dell Precision BIOS contain an improper input validation vulnerability. A
A vulnerability was found in Deye/Revolt/Bosswerk Inverter MW3_15U_5406_1.47/MW3_15U_5406_1.471. It
Azure/setup-kubectl is a GitHub Action for installing Kubectl. This vulnerability only impacts versi
IBM Robotic Process Automation 21.0.1 through 21.0.7 and 23.0.0 through 23.0.1 could allow a user wi
This vulnerability allows local attackers to execute arbitrary code on affected installations of Sam
Kiwi TCMS is an open source test management system. In versions of Kiwi TCMS prior to 12.2, users we
Wasmtime is a standalone runtime for WebAssembly. Prior to versions 6.0.2, 7.0.1, and 8.0.1, Wasmtim
Insufficient input validation in the SMU may allow an attacker to corrupt SMU SRAM potentially leadi
Out-of-bounds write for some Intel(R) Trace Analyzer and Collector software before version 2021.8.0
Libarchive through 3.6.2 can cause directories to have world-writable permissions. The umask() call