CVE-2025-43853

iwasm vulnerable to filesystem sandbox escape with symlink when using uvwasi feature

State
Published
Severity
7.0 High
Published
May 15, 2025
Updated
May 15, 2025
Reserved
Apr 17, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.07.0 HighCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:NGitHub_M

Weaknesses

  • CWE-61 UNIX Symbolic Link (Symlink) Following

Affected Products

ProductVersions
wasm-micro-runtimebytecodealliance
  • < 2.3.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.