1. Archivio CVE
  2. 2024
  3. CVE-2024-51745

CVE-2024-51745

10 Gravità critica CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H 10 – Critica

Descrizione

Wasmtime is a fast and secure runtime for WebAssembly. Wasmtime's filesystem sandbox implementation on Windows blocks access to special device filenames such as "COM1", "COM2", "LPT0", "LPT1", and so on, however it did not block access to the special device filenames which use superscript digits, such as "COM¹", "COM²", "LPT⁰", "LPT¹", and so on. Untrusted Wasm programs that are given access to any filesystem directory could bypass the sandbox and access devices through those special device filenames with superscript digits, and through them gain access peripheral devices connected to the computer, or network resources mapped to those devices. This can include modems, printers, network printers, and any other device connected to a serial or parallel port, including emulated USB serial ports. Patch releases for Wasmtime have been issued as 24.0.2, 25.0.3, and 26.0.1. Users of Wasmtime 23.0.x and prior are recommended to upgrade to one of these patched versions. There are no known workarounds for this issue. Affected Windows users are recommended to upgrade.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
bytecodealliance wasmtime < 24.0.2 rust
bytecodealliance wasmtime 25.0.0 rust
bytecodealliance wasmtime 25.0.1 rust
bytecodealliance wasmtime 25.0.2 rust
bytecodealliance wasmtime 26.0.0 rust
Tutte le 94 vulnerabilità di Bytecodealliance Wasmtime

Tipo di vulnerabilità

CWE-67 Improper Handling of Windows Device Names

The product constructs pathnames from user input, but it does not handle or incorrectly handles a pathname containing a Windows device name such as AUX or CON. This typically leads to denial of service or an information exposure when the application attempts to process the pathname as a regular file.

Impatto sui sistemi

AmbitoImpatto
Disponibilità, Riservatezza, Altro Interruzione del servizio: arresto o riavvio, Leggere i dati dell’applicazione, Altro

Come si previene

Sviluppo Be familiar with the device names in the operating system where your system is deployed. Check input for these device names.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 7 CVE di tipo CWE-67, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org