CVE & CISA-KEV Catalog

CVE-2023-27477

LOW
3.1
CVSS v3
NVD

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.

How to fix

Remediation Available
cranelift-codegenNVD
Affected:>= 0.84.0, < 0.91.1Fixed in:0.91.1CVE-2023-27477derived from NVD
wasmtimeNVD
Affected:>= 0.37.0, < 4.0.1Fixed in:4.0.1CVE-2023-27477derived from NVD

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

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityLow
AvailabilityNone

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

Exploit Intelligence

0.62%probability of exploitation in 30 days
45thpercentile

Moderate risk: more likely to be exploited than 45% of all known CVEs.

References

Vendor Advisory1
Product1
Other references1
Embed a live status badge for CVE-2023-27477
CVE-2023-27477 severity badge

Markdown

[![CVE-2023-27477](https://tridentstack.com/cve/badge/CVE-2023-27477.svg)](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.

Start free

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.