Path Traversal in Wasmerio Wasmer
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.
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.002 (10.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 2.9 (Low). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N.
Affected products
- Wasmerio Wasmer — versions < 4.3.2
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM)
- security-advisories@github.com (x_refsource_MISC)
Frequently asked questions
- What is CVE-2024-38358?
- CVE-2024-38358 is a low-severity vulnerability in Wasmerio Wasmer, classified under Path Traversal. CVSS score: 2.9/10. Published 2024-06-19.
- How severe is CVE-2024-38358?
- Low severity. CVSS v3 base score is 2.9 out of 10.