Wasmtime before 24.0.13, 25.0.0 before 36.0.14, 37.0.0 before 46.0.3, and 47.0.0 before 47.0.4 Sandbox Escape via Trailing Slashes
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 24.0.13, 36.0.14, 46.0.3 and 2 more.
Wasmtime before 24.0.13, 25.0.0 before 36.0.14, 37.0.0 before 46.0.3, and 47.0.0 before 47.0.4 allows a filesystem sandbox escape in wasmtime-wasi because its cap-std dependency mishandles symlinks with trailing slashes on macOS and Linux kernels lacking openat2. A guest with write access to any sandboxed directory can read and write any host-accessible file, and read-only guests may read host files via preexisting symlinks.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| bytecodealliance | <24.0.13, >=25.0.0 <36.0.14, >=37.0.0 <46.0.3, >=47.0.0 <47.0.4 | 24.0.13, 36.0.14, 46.0.3, 47.0.4 | |
| cargo: wasmtime | >=47.0.0 <47.0.4 | 47.0.4 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in wasmtime (Cargo), strongest first
Embed
A live severity badge for an advisory, README or ticket