CVE-2024-38358wasmerio wasmer
Low 2.9
Follow: this CVE · wasmerio · wasmerio wasmer We alert you by email or Slack (account required).
- Priority
- 17
- CVSS 3.1
- 2.9
- EPSS
- 0.3% probability of exploitation in 30 days · percentile 12
- Auth required
- Yes
- Published
- Jun 19, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for wasmer.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | wasmer |
≤ 4.3.1 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-55f3-3qvg-8pv5). Check the version in your lockfile before upgrading.
Affected products
- wasmerio · wasmer
- wasmer · wasmer
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.