CVE-2023-27477
LOWDescription
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.
How to fix
TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Exploit Intelligence
Moderate risk: more likely to be exploited than 47% of all known CVEs.
References
Related Vulnerabilities
Other CWE-193 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2021-3156 | High | 7.8 | 99% | KEV | Fix |
| CVE-2003-0466 | Critical | 9.8 | 78% | - | - |
| CVE-2023-44444 | High | 7.8 | 56% | - | Fix |
| CVE-2021-23017 | High | 7.7 | 53% | - | Fix |
| CVE-2023-28709 | High | 7.5 | 50% | - | Fix |
| CVE-2018-8828 | Critical | 9.8 | 31% | - | Fix |
Common questions
How do I fix CVE-2023-27477?
Published advisories record a fix for 2 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.
Is CVE-2023-27477 being actively exploited?
Not that we know of. CVE-2023-27477 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.62% is the estimated probability that it will be exploited in the next 30 days. That is higher than 47% of all scored CVEs.
How severe is CVE-2023-27477?
CVE-2023-27477 has a CVSS v3 base score of 3.1, rated low. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.
What does CVE-2023-27477 affect?
Published advisories record a fix for cranelift-codegen (NVD), wasmtime (NVD). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.
Embed a live status badge for CVE-2023-27477
Markdown
[](https://tridentstack.com/cve/CVE-2023-27477)HTML
<a href="https://tridentstack.com/cve/CVE-2023-27477"><img src="https://tridentstack.com/cve/badge/CVE-2023-27477.svg" alt="CVE-2023-27477"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.