CVE-2024-51745CWE-184CWE-67

Wasmtime doesn't fully sandbox all the Windows device filenames

Low · published November 5, 2024

CVSS v4.0
2.3
EPSS
1%
Percentile
57.3
In the wild
Unconfirmed
What it is

⚠️ A sneaky oversight in Wasmtime lets untrusted programs access your devices through superscript filenames! 📡 Think of it like a hotel with strict rules about which rooms are off-limits. However, someone found a way to book those rooms using special characters in their request — now they can snoop around wherever they please! This oversight could lead to untrusted WebAssembly programs accessing sensitive peripheral devices like printers or modems. While this won't expose your data directly, it poses a risk to your system's integrity and privacy, allowing potential misuse of connected devices.

Put simply

Think of it like a hotel with strict rules about which rooms are off-limits. However, someone found a way to book those rooms using special characters in their request — now they can snoop around wherever they please! Wasmtime's filesystem sandbox on Windows is designed to block special device filenames, but it fails to recognize superscript digits (e.g., "COM¹") as valid devices, allowing bypass of the sandbox.

What to do

This oversight could lead to untrusted WebAssembly programs accessing sensitive peripheral devices like printers or modems. While this won't expose your data directly, it poses a risk to your system's integrity and privacy, allowing potential misuse of connected devices. Upgrade to Wasmtime versions 24.0.2, 25.0.3, or 26.0.1 to ensure your environment is secure. There are no workarounds for this issue, so don’t delay in patching your installation! You've got this! By following these steps, you'll keep your devices safe and sound! 🛡️

The record
Technical detail
CVSS v4.0
2.3 · LOW
Vector
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
EPSS
0.00836 · 57.3th percentile
Weaknesses
CWE-184 · Incomplete List of Disallowed Inputs; CWE-67 · Improper Handling of Windows Device Names
Published
2024-11-05T21:09Z
EPSS history
Timeline
  • 05 NOV 21:09Z
    Wasmtime doesn't fully sandbox all the Windows device filenames
    cvelistv5