cve.bz

CVE-2024-51745 bytecodealliance wasmtime: Incomplete List of Disallowed Inputs

2.3 lowEPSS 0.8%Fix available

Low (2.3) in bytecodealliance wasmtime. EPSS 0.8% estimated probability of exploitation activity in the next 30 days. Fixed in wasmtime 24.0.2, 25.0.3, 26.0.1.

On this page
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.

Severity

CVSS 4.0

2.3 low
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

CVSS 3.1

10.0 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 59th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-11-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-67 Improper Handling of Windows Device Names
CWE-184 Incomplete List of Disallowed Inputs
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-51745 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-51745?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-51745?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-51745 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
bytecodealliance:wasmtimebefore 24.0.2
bytecodealliance:wasmtime25.0.0
bytecodealliance:wasmtime25.0.1
bytecodealliance:wasmtime25.0.2
bytecodealliance:wasmtime26.0.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-c2f5-jxjv-2hh8crates.iowasmtime<24.0.224.0.2
GHSA-c2f5-jxjv-2hh8crates.iowasmtime>=25.0.0 <25.0.325.0.3
GHSA-c2f5-jxjv-2hh8crates.iowasmtime>=26.0.0 <26.0.126.0.1
RUSTSEC-2024-0438crates.iowasmtime>=0.0.0-0 <24.0.2
>=25.0.0 <25.0.3
>=26.0.0 <26.0.1
24.0.2, 25.0.3, 26.0.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13, 14rust-wasmtime26.0.1+dfsg-1DEBIAN-CVE-2024-51745

From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This vulnerability is specific to Windows. No Red Hat products are affected.

ProductPackageStateAdvisory
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-validation-rhel9Not affected
Red Hat Trusted Artifact Signerrhtas/ec-rhel9Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-51745.

Attack patterns (CAPEC)

  • CAPEC-3 Using Leading 'Ghost' Character Sequences to Bypass Input Filters Likelihood: Medium · Severity: Medium
  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-71 Using Unicode Encoding to Bypass Validation Logic Likelihood: Medium · Severity: High
  • CAPEC-73 User-Controlled Filename Likelihood: High · Severity: High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-120 Double Encoding Likelihood: Low · Severity: Medium
  • CAPEC-182 Flash Injection Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON