Skip to content
Heist/ feed
Back to feed
High

Filesystem sandbox not enforced in wasmer-cli

Type: advisorySources: OSV

Wasmer is a WebAssembly runtime that enables containers to run anywhere: from Desktop to the Cloud, Edge and even the browser. Wasm programs can access the filesystem outside of the sandbox. Service providers running untrusted Wasm code on Wasmer can unexpectedly expose the host filesystem. This vulnerability has been patched in version 4.2.4.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-51661
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 18:08 UTC · Revision 1

Source evidence

Filesystem sandbox not enforced in wasmer-cli

core-osv · Original source

Published 22 Dec 2023, 14:54 UTC

Wasmer is a WebAssembly runtime that enables containers to run anywhere: from Desktop to the Cloud, Edge and even the browser. Wasm programs can access the filesystem outside of the sandbox. Service providers running untrusted Wasm code on Wasmer can unexpectedly expose the host filesystem. This vulnerability has been patched in version 4.2.4.

osv:CVE-2023-51661
Complete source record
{
  "id": "6931c2db992ce67a74d07197fe78ed827a7a0370f3919881e87e6f4c28e28ae6",
  "url": "https://osv.dev/vulnerability/CVE-2023-51661",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Filesystem sandbox not enforced in wasmer-cli",
    "summary": "Wasmer is a WebAssembly runtime that enables containers to run anywhere: from Desktop to the Cloud, Edge and even the browser. Wasm programs can access the filesystem outside of the sandbox. Service providers running untrusted Wasm code on Wasmer can unexpectedly expose the host filesystem. This vulnerability has been patched in version 4.2.4.",
    "evidence": "osv:CVE-2023-51661",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2023-51661",
      "aliases": [
        "CVE-2023-51661",
        "GHSA-4mq4-7rw3-vm5j"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/wasmerio/wasmer",
              "type": "GIT",
              "events": [
                {
                  "introduced": "3a105194470a955ba663509fc8dae60d3085717c"
                },
                {
                  "fixed": "4d63febf9d8b257b0531963b85df48d45d0dbf3c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "3.0.0"
                      },
                      {
                        "fixed": "4.2.4"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "4d63febf9d8b257b0531963b85df48d45d0dbf3c"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "cpe": "cpe:2.3:a:wasmer:wasmer:*:*:*:*:*:rust:*:*",
                    "range": [
                      {
                        "introduced": "3.0.0"
                      },
                      {
                        "fixed": "4.2.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v4.2.3",
            "v4.2.2",
            "v4.2.1",
            "v4.2.0",
            "v4.1.2",
            "v4.1.1",
            "v4.1.0",
            "v4.0.0",
            "v4.0.0-beta.3",
            "v4.0.0-beta.2",
            "v4.0.0-beta.1",
            "v4.0.0-alpha.1",
            "v3.3.0",
            "v3.2.1",
            "v3.2.0",
            "v3.2.0-beta.2",
            "v3.2.0-beta.1",
            "v3.1.0",
            "v3.0.2",
            "v3.2.0-alpha.1",
            "v3.0.1",
            "v3.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-51661.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:21.807769974Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/51xxx/CVE-2023-51661.json",
        "https://github.com/wasmerio/wasmer/security/advisories/GHSA-4mq4-7rw3-vm5j",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-51661",
        "https://github.com/wasmerio/wasmer/issues/4267",
        "https://github.com/wasmerio/wasmer/commit/4d63febf9d8b257b0531963b85df48d45d0dbf3c"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-284"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/51xxx/CVE-2023-51661.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-51661",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 488118,
  "published_at": "2023-12-22T14:54:23.103+00:00"
}