CVE-2024-51745

LOW EPSS 52.4%
Published Nov 5, 20241y ago · Modified Jun 17, 20262w ago
2.3 CVSS 4.0
Low
Find Similar
Published Nov 5, 2024 1y ago
Last Modified Jun 17, 2026 2w ago

Description

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.

CVSS Details

Base Score
2.3
Exploitability
Impact
Vector string
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector Network
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope X

Threat Intelligence

EPSS Exploit Probability
52.4% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 2

CWE-184
CWE-67

Affected Products 5

VendorProductVersionRange
bytecodealliancewasmtime* <24.0.2
bytecodealliancewasmtime25.0.0any
bytecodealliancewasmtime25.0.1any
bytecodealliancewasmtime25.0.2any
bytecodealliancewasmtime26.0.0any

References 4

  • en.wikipedia.org https://en.wikipedia.org/wiki/ISO/IEC_8859-1
    Product
  • github.com https://github.com/bytecodealliance/cap-std/pull/371
    Patch
  • github.com https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-c2f5-jxjv-2hh8
    Vendor Advisory
  • learn.microsoft.com https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#naming-conventions
    Product

Remediation

  • github.com https://github.com/bytecodealliance/cap-std/pull/371
    Patch