Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. wasmer
  4. ›
  5. CVE-2024-38358

CVE-2024-38358: Symlink bypasses filesystem sandbox

June 7, 2024 (updated June 20, 2024)

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.

References

  • github.com/advisories/GHSA-55f3-3qvg-8pv5
  • github.com/wasmerio/wasmer
  • github.com/wasmerio/wasmer/commit/b9483d022c602b994103f78ecfe46f017f8ac662
  • github.com/wasmerio/wasmer/security/advisories/GHSA-55f3-3qvg-8pv5
  • nvd.nist.gov/vuln/detail/CVE-2024-38358

Code Behaviors & Features

Detect and mitigate CVE-2024-38358 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 4.3.1

Solution

Unfortunately, there is no solution available yet.

Impact 2.9 LOW

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

cargo/wasmer/CVE-2024-38358.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:30 +0000.