Lucene search

K
vulnrichmentGitHub_MVULNRICHMENT: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
github.com
wasmer
symlink bypass
filesystem sandbox
vulnerability
host filesystem
upgrade

2.9 Low

CVSS3

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

6.8 Medium

AI Score

Confidence

High

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": [
      {
        "status": "affected",
        "version": "< 4.3.2"
      }
    ]
  }
]

2.9 Low

CVSS3

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

6.8 Medium

AI Score

Confidence

High

Related for VULNRICHMENT:CVE-2024-38358