Wasmtimeにサンドボックスを脱出されホスト上のファイルを読み書きされるおそれ
Summary
Wasmtimeのwasmtime-wasiに、ファイルシステムのサンドボックスを脱出される脆弱性が見つかりました。書き込み権限を持つゲストは、ホストからアクセスできる任意のファイルを読み書きできるおそれがあります。影響を受けるのは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以降に更新してください。
AI summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
Wasmtimeのwasmtime-wasiに、ファイルシステムのサンドボックスを脱出される脆弱性が見つかりました。書き込み権限を持つゲストは、ホストからアクセスできる任意のファイルを読み書きできるおそれがあります。影響を受けるのは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以降に更新してください。
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| bytecodealliance | wasmtime |
< 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 |
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web github.com
- web vulncheck.com
- web nvd.nist.gov
- web github.com