Lucene search

K
cvelistGitHub_MCVELIST:CVE-2024-38358
HistoryJun 19, 2024 - 7:55 p.m.

CVE-2024-38358 Symlink bypasses filesystem sandbox in wasmer

2024-06-1919:55:26
CWE-22
GitHub_M
www.cve.org
11
cve-2024-38358; symlink bypass; filesystem sandbox; wasmer; wasi programs; runtime; emscripten; vulnerability; upgrade; commit b9483d022; release version 4.3.2

CVSS3

2.9

Attack Vector

LOCAL

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

EPSS

0

Percentile

10.5%

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_opening 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.

CNA Affected

[
  {
    "vendor": "wasmerio",
    "product": "wasmer",
    "versions": [
      {
        "version": "< 4.3.2",
        "status": "affected"
      }
    ]
  }
]

CVSS3

2.9

Attack Vector

LOCAL

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

EPSS

0

Percentile

10.5%

Related for CVELIST:CVE-2024-38358