Vulnerability
CVE-2024-38358
Wasmer is a web assembly (wasm) Runtime supporting WASIX, WASI and Emscripten. If the preopened directory has a symlink pointing outside, WASI programs can traverse the symlink and access host filesystem if the caller sets both `oflags::creat` and `rights::fd_write`. Programs can also crash the runtime by creating a symlink pointing outside with `path_symlink` and `path_open`ing the link. This issue has been addressed in commit `b9483d022` which has been included in release version 4.3.2. Users are advised to upgrade. There are no known workarounds for this vulnerability.
11 advisories report this vulnerability, across 3 ecosystems.
Advisories
- CGA-45r3-g3fq-7gxh
- CGA-4v29-jm82-r73m
- CGA-9fj9-2hf3-qr6h
- CGA-fc6r-p8cx-qh49
- CGA-hmqg-2xr9-29wq
- CGA-j2vx-w9cx-q278
- CGA-j845-hhp5-q76h
- CGA-v2cp-pqrc-26w3
- CGA-vcr9-9r73-pjfr
- CGA-x66h-fj34-3p3m
-
GHSA-55f3-3qvg-8pv5
Symlink bypasses filesystem sandbox