Incomplete list of disallowed inputs in Wasmtime - CVE-2024-51745
Published: November 7, 2024
Vulnerability identifier: #VU100035
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-51745
CWE-ID: CWE-184
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local user to bypass implemented security restrictions.
The vulnerability exists due to improper validation of superscript digits in the device filenames when restricting access to them. A local user can bypass implemented sandbox restrictions and access devices through those special device filenames.
Affected software
Wasmtime
How to mitigate CVE-2024-51745
Install updates from vendor's website.
Wasmtime - addressed in versions 24.0.2, 25.0.3, 26.0.1
External References
- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-c2f5-jxjv-2hh8
- https://github.com/bytecodealliance/cap-std/pull/371
- https://github.com/bytecodealliance/wasmtime/releases/tag/v24.0.2
- https://github.com/bytecodealliance/wasmtime/releases/tag/v26.0.1
- https://github.com/bytecodealliance/wasmtime/releases/tag/v25.0.3