> CVE-2023-27477 [LOW]

« BACK_TO_HOME
PUBLISHED
2023-03-08 21:15
MODIFIED
2024-11-21 07:52
CVSS_SCORE V3
3.1
EPSS (Prob. Exploit)
0.62%
Top 49.5%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-15 GITHUB 🔗 2026-11-10

> 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.

> AFFECTED_PRODUCTS

Bytecodealliance - Cranelift Codegen
>= 0.84.0 < 0.91.1
Bytecodealliance - Cranelift Codegen
Version: 0.92.0
Bytecodealliance - Cranelift Codegen
Version: 0.93.0
Bytecodealliance - Wasmtime
>= 0.37.0 < 4.0.1
Bytecodealliance - Wasmtime
Version: 5.0.0
Bytecodealliance - Wasmtime
Version: 6.0.0

> CVSS V3 METRICS

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

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
High (H)
Conditions spécifiques doivent être réunies pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
Low (L)
Modification limitée des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
Low
Modification limitée des données possible
Disponibilité
None
Aucune interruption de service

> GITHUB SECURITY ADVISORY

GHSA-xm67-587q-r2vw LOW

wasmtime vulnerable to miscompilation of `i8x16.select` with the same inputs on x86_64

AFFECTED PACKAGES:
RUST / cranelift-codegen
>= 0.93.0, < 0.93.1
Fixed in: 0.93.1
RUST / cranelift-codegen
>= 0.92.0, < 0.92.1
Fixed in: 0.92.1
RUST / cranelift-codegen
>= 0.88.0, < 0.91.1
Fixed in: 0.91.1
RUST / wasmtime
>= 6.0.0, < 6.0.1
Fixed in: 6.0.1
RUST / wasmtime
>= 5.0.0, < 5.0.1
Fixed in: 5.0.1
RUST / wasmtime
>= 1.0.0, < 4.0.1
Fixed in: 4.0.1

> HISTORIQUE DES MODIFICATIONS

Première apparition
08/03/2023 21:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:39
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME