{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-38358","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2024-06-14T14:16:16.465Z","datePublished":"2024-06-19T19:55:26.111Z","dateUpdated":"2024-08-02T04:04:25.282Z"},"containers":{"cna":{"title":"Symlink bypasses filesystem sandbox in wasmer","problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":2.9,"baseSeverity":"LOW","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"}}],"references":[{"name":"https://github.com/wasmerio/wasmer/security/advisories/GHSA-55f3-3qvg-8pv5","tags":["x_refsource_CONFIRM"],"url":"https://github.com/wasmerio/wasmer/security/advisories/GHSA-55f3-3qvg-8pv5"},{"name":"https://github.com/wasmerio/wasmer/commit/b9483d022c602b994103f78ecfe46f017f8ac662","tags":["x_refsource_MISC"],"url":"https://github.com/wasmerio/wasmer/commit/b9483d022c602b994103f78ecfe46f017f8ac662"}],"affected":[{"vendor":"wasmerio","product":"wasmer","versions":[{"version":"< 4.3.2","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2024-06-19T19:55:26.111Z"},"descriptions":[{"lang":"en","value":"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."}],"source":{"advisory":"GHSA-55f3-3qvg-8pv5","discovery":"UNKNOWN"}},"adp":[{"affected":[{"vendor":"wasmer","product":"wasmer","cpes":["cpe:2.3:a:wasmer:wasmer:*:*:*:*:*:rust:*:*"],"defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"4.3.2","versionType":"custom"}]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-28T13:23:16.763480Z","id":"CVE-2024-38358","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-07-03T20:55:06.034Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T04:04:25.282Z"},"title":"CVE Program Container","references":[{"name":"https://github.com/wasmerio/wasmer/security/advisories/GHSA-55f3-3qvg-8pv5","tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/wasmerio/wasmer/security/advisories/GHSA-55f3-3qvg-8pv5"},{"name":"https://github.com/wasmerio/wasmer/commit/b9483d022c602b994103f78ecfe46f017f8ac662","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/wasmerio/wasmer/commit/b9483d022c602b994103f78ecfe46f017f8ac662"}]}]}}