Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2023-27477

3.1 · LOW
Published Mar 8, 2023 bytecodealliance CWE-193 EPSS 0.62% (47th pctl)

Overview

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

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.