Skip to content

Implement ADR 0006: patched no-WASI host wasmtime (resolves the 2 critical sandbox-escape CVEs) #52

Description

@hyperpolymath

Implements ADR 0006 (the spec). Resolves snifs#50.

  1. Fork wasmexhyperpolymath/wasmex, branch snif-wasmtime-patched: bump wasmtime/wasmtime-wasi/wasmtime-wasi-http to ≥42.0.2 (pin 43.x) in native/wasmex/Cargo.toml; set default-features = false, features = ["cranelift"]; drop the WASI deps; fix wasmtime 41→43 API breakage in wasmex's Rust.
  2. demo/mix.exs: {:wasmex, github: "hyperpolymath/wasmex", branch: "snif-wasmtime-patched", force_build: true}.
  3. CI gate: advisory scan of the built Cargo.lock fails if wasmtime is in any advisory's vulnerable range.
  4. Run demo + metamorphic/pool suites against the new host.
  5. Then bump CITATION.cff / Zenodo (version + date) — only once the fix is verified (no overclaim).

These are the two CRITICAL alerts from the dep-security round (aarch64 Winch + Cranelift sandbox escapes).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions