Incomplete list of disallowed inputs in Wasmtime - CVE-2024-51745
Published: November 7, 2024
Vulnerability identifier: #VU100035
CSH Severity: Low
CVSS v4.0: 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/E:U/U:Clear
CVE-ID: CVE-2024-51745
CWE-ID: CWE-184
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vendor: Bytecode Alliance
Affected software:
Wasmtime
Wasmtime
Detailed vulnerability description
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.
How to mitigate CVE-2024-51745
Install updates from vendor's website.
Sources
- 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