PT-2024-34878 · Wasmtime · Wasmtime

Nathaniel-Daniel

·

Published

2024-11-02

·

Updated

2024-11-06

·

CVE-2024-51745

CVSS v3.1

10

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Wasmtime versions prior to 24.0.2 Wasmtime versions prior to 25.0.3 Wasmtime versions prior to 26.0.1
Description The issue concerns Wasmtime's filesystem sandbox implementation on Windows, which fails to block access to special device filenames using superscript digits, such as "COM¹", "COM²", "LPT⁰", "LPT¹", and so on. This allows untrusted Wasm programs to bypass the sandbox and access devices through these special filenames, potentially gaining access to 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.
Recommendations For Wasmtime versions 23.0.x and prior, upgrade to one of the patched versions, such as 24.0.2, 25.0.3, or 26.0.1. As there are no known workarounds for this issue, affected Windows users are recommended to upgrade to a patched version.

Exploit

Fix

Incomplete List of Disallowed Inputs

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2024-51745
GHSA-C2F5-JXJV-2HH8
RUSTSEC-2024-0438

Affected Products

Wasmtime