{"id":"CVE-2024-38358","published":"2024-06-19T19:55:26Z","modified":"2024-08-02T04:04:25Z","title":"Symlink bypasses filesystem sandbox in wasmer","vendor":"wasmerio","product":"wasmer","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.9,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.002,"percentile":0.10058,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/wasmerio/wasmer/security/advisories/GHSA-55f3-3qvg-8pv5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/wasmerio/wasmer/commit/b9483d022c602b994103f78ecfe46f017f8ac662","tags":["x_refsource_MISC"]}],"priority":{"score":4.0,"factors":[{"name":"EPSS percentile","points":2.01},{"name":"CVSS severity","points":2.03}]},"vendorSlug":"wasmerio","affectedVersions":[{"vendor":"wasmerio","product":"wasmer","versions":["< 4.3.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-28T13:23:16.763480Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"wasmer","vulnerableRanges":["<=4.3.1"],"patched":[],"from":["GHSA-55f3-3qvg-8pv5"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-1924","exploited":false,"provenance":"source"}}