> CVE-2025-53901 [LOW]

« BACK_TO_HOME
PUBLISHED
2025-07-18 18:15
MODIFIED
2025-09-04 17:12
CVSS_SCORE V3
3.5
EPSS (Prob. Exploit)
0.38%
Top 67.7%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-11-04 OSV 🔗 2026-11-08

> DESCRIPTION

Wasmtime is a runtime for WebAssembly. Prior to versions 24.0.4, 33.0.2, and 34.0.2, a bug in Wasmtime's implementation of the WASIp1 set of import functions can lead to a WebAssembly guest inducing a panic in the host (embedder). The specific bug is triggered by calling `path_open` after calling `fd_renumber` with either two equal argument values or a second argument being equal to a previously-closed file descriptor number value. The corrupt state introduced in `fd_renumber` will lead to the subsequent opening of a file descriptor to panic. This panic cannot introduce memory unsafety or allow WebAssembly to break outside of its sandbox, however. There is no possible heap corruption or memory unsafety from this panic. This bug is in the implementation of Wasmtime's `wasmtime-wasi` crate which provides an implementation of WASIp1. The bug requires a specially crafted call to `fd_renumber` in addition to the ability to open a subsequent file descriptor. Opening a second file descriptor is only possible when a preopened directory was provided to the guest, and this is common amongst embeddings. A panic in the host is considered a denial-of-service vector for WebAssembly embedders and is thus a security issue in Wasmtime. This bug does not affect WASIp2 and embedders using components. In accordance with Wasmtime's release process, patch releases are available as 24.0.4, 33.0.2, and 34.0.2. Users of other release of Wasmtime are recommended to move to a supported release of Wasmtime. Embedders who are using components or are not providing guest access to create more file descriptors (e.g. via a preopened filesystem directory) are not affected by this issue. Otherwise, there is no workaround at this time, and affected embeddings are recommended to update to a patched version which will not cause a panic in the host.

> AFFECTED_PRODUCTS

Bytecodealliance - Wasmtime
< 24.0.4
Bytecodealliance - Wasmtime
>= 33.0.0 < 33.0.2
Bytecodealliance - Wasmtime
>= 34.0.0 < 34.0.2

> CVSS V3 METRICS

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

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
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
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
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
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
Low (L)
Interruption partielle du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
Low
Interruption partielle du service possible

> GITHUB SECURITY ADVISORY

GHSA-fm79-3f68-h2fc LOW

Wasmtime CLI is vulnerable to host panic through its fd_renumber function

AFFECTED PACKAGES:
RUST / wasmtime
>= 34.0.0, < 34.0.2
Fixed in: 34.0.2
RUST / wasmtime
>= 33.0.0, < 33.0.2
Fixed in: 33.0.2
RUST / wasmtime
>= 10.0.0, < 24.0.4
Fixed in: 24.0.4
RUST / wasmtime-wasi
>= 34.0.0, < 34.0.2
Fixed in: 34.0.2
RUST / wasmtime-wasi
>= 25.0.0, < 33.0.2
Fixed in: 33.0.2
RUST / wasmtime-wasi
< 24.0.4
Fixed in: 24.0.4

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Wasmtime has host panic with `fd_renumber` WASIp1 function

AFFECTED PACKAGES:
Unknown / Unknown
32 versions affected
ALIASES:
GHSA-fm79-3f68-h2fc, RUSTSEC-2025-0046

> HISTORIQUE DES MODIFICATIONS

Première apparition
18/07/2025 18:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 15:06
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