CVE-2024-51745
Wasmtime doesn't fully sandbox all the Windows device filenames
Summary
Remediation
Upgrade to the fixed version using your package manager.
cargo update -p wasmtime --precise 26.0.1
cargo update -p wasmtime --precise 24.0.2
cargo update -p wasmtime --precise 25.0.3
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (3)
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-184
- CWE-67
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 5.9 score means for each attack dimension.
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
References
- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-c2f5-jxjv-2hh8WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-51745ADVISORY
- https://github.com/bytecodealliance/cap-std/pull/371WEB
- https://en.wikipedia.org/wiki/ISO/IEC_8859-1WEB
- https://github.com/bytecodealliance/wasmtimePACKAGE
- https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#naming-conventionsWEB
- https://rustsec.org/advisories/RUSTSEC-2024-0438.htmlWEB
Frequently Asked Questions
- What is CVE-2024-51745?
- Wasmtime doesn't fully sandbox all the Windows device filenames This vulnerability has been assigned a severity rating of LOW (CVSS score: 5.9/10).
- How do I check if my project is affected by CVE-2024-51745?
- CVE-2024-51745 affects wasmtime. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-51745 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions or has limited impact. Remediate within weeks.
Also Known As
Related CVEs
- CVE-2023-26489CRITICAL
Guest-controlled out-of-bounds read/write on x86\_64
- CVE-2026-34987CRITICAL
Wasmtime with Winch compiler backend on aarch64 may allow a sandbox-escaping memory access
- CVE-2022-39392HIGH
Bug in Wasmtime implementation of pooling instance allocator
- CVE-2022-39393HIGH
Data leakage between instances in the pooling allocator
- CVE-2026-35195HIGH
Out-of-bounds write or crash when transcoding component model strings
- CVE-2026-27204MEDIUM
Guest-controlled resource exhaustion in WASI implementations
- CVE-2026-27572MEDIUM
Panic adding excessive fields to a `wasi:http/types.fields` instance
- CVE-2026-34942MEDIUM
Panic when transcoding misaligned component model UTF-16 strings
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies