CVE-2025-43853 iwasm vulnerable to filesystem sandbox escape with symlink when using uvwasi feature
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
The WebAssembly Micro Runtime's (WAMR) iwasm package is the executable binary built with WAMR VMcore which supports WebAssembly System Interface (WASI) and command line interface. Anyone running WAMR up to and including version 2.2.0 or WAMR built with libc-uvwasi on Windows is affected by a symlink following vulnerability. On WAMR running in Windows, creating a symlink pointing outside of the preopened directory and subsequently opening it with create flag will create a file on host outside of the sandbox. If the symlink points to an existing host file, it's also possible to open it and read its content. Version 2.3.0 fixes the issue.
Upgrade path
5 packages: 1 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux fluent-bit(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| cbl-mariner fluent-bit(CBL-Mariner 2.0) | All versions | No fix listed | No fix yet |
| Microsoft cbl2 fluent-bit 3.0.6-2 | All versions | No fix listed | No fix yet |
| bytecodealliance webassembly micro runtime | < 2.2.0 | 2.2.0 | Fixed |
| bytecodealliance wasm-micro-runtime | = < 2.3.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Microsoft cbl2 fluent-bit 3.0.6-2 | All versions | No fix listed |
| azure linux fluent-bit(Azure Linux:3.0) | All versions | No fix listed |
| cbl-mariner fluent-bit(CBL-Mariner:2.0) | All versions | No fix listed |
| bytecodealliance wasm-micro-runtime | = < 2.3.0 | No fix listed |
| bytecodealliance webassembly micro runtime | < 2.2.0 | 2.2.0 |