Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
bytecodealliance wasmtime
Default version status: unaffected
0 to < 24.0.13affected24.0.13unaffected25.0.0 to < 36.0.14affected36.0.14unaffected37.0.0 to < 46.0.3affected46.0.3unaffected47.0.0 to < 47.0.4affected47.0.4unaffected
pkg:cargo/wasmtime