{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-38358","id":"CVE-2024-38358","title":"Symlink bypasses filesystem sandbox in wasmer","description":"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 iss","descriptionLong":"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.","published":"2024-06-19T19:55:26.111Z","updated":"2026-10-28T02:31:03.215882774Z","reserved":"2024-06-14T14:16:16.465Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":2.9,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"GitHub_M"},"metrics":[{"version":"3.1","score":2.9,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"GitHub_M"},{"version":"3.1","score":2.9,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"github.com"},{"version":"3.1","score":2.9,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"OSV"},{"version":"3.1","score":2.9,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"GitHub"}],"rating":"low","products":["wasmerio wasmer"],"affectedProducts":[{"vendor":"wasmerio","product":"wasmer","defaultStatus":null,"versions":[{"version":"< 4.3.2","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"wasmer","purl":"pkg:cargo/wasmer","ranges":["<=4.3.1"],"fixed":[],"advisory":"GHSA-55f3-3qvg-8pv5"}],"cwes":["CWE-22"],"aliases":["GHSA-55f3-3qvg-8pv5"],"references":[{"url":"https://github.com/wasmerio/wasmer/security/advisories/GHSA-55f3-3qvg-8pv5","tags":["x_refsource_CONFIRM","x_transferred","advisory","web"]},{"url":"https://github.com/wasmerio/wasmer/commit/b9483d022c602b994103f78ecfe46f017f8ac662","tags":["x_refsource_MISC","x_transferred","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38358.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38358","tags":["advisory"]},{"url":"https://github.com/wasmerio/wasmer","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.002,"epssPercentile":0.09987,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-38358","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38358","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-38358","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-55f3-3qvg-8pv5","ok":true,"note":"GHSA-55f3-3qvg-8pv5"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-38358","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}