Skip to content

fix(model-compute): upgrade wasmtime 29 → >=36.0.7 (fixes 5 RUSTSECs)#170

Open
metavacua wants to merge 1 commit into
chrishayuk:mainfrom
metavacua:fix/upstream-wasmtime-security
Open

fix(model-compute): upgrade wasmtime 29 → >=36.0.7 (fixes 5 RUSTSECs)#170
metavacua wants to merge 1 commit into
chrishayuk:mainfrom
metavacua:fix/upstream-wasmtime-security

Conversation

@metavacua

Copy link
Copy Markdown
Contributor

Summary

  • Upgrades wasmtime from "29" (resolves to 29.0.1) to ">=36.0.7" (resolves to 45.0.2) in crates/model-compute/Cargo.toml
  • Resolves five active security advisories in the RustSec advisory database

Advisories fixed

ID Title
RUSTSEC-2026-0021 Panic on out-of-bounds table access
RUSTSEC-2026-0085 Data race in async host functions
RUSTSEC-2026-0086 Use-after-free in component model
RUSTSEC-2026-0087 Bounds check bypass in memory64
RUSTSEC-2026-0088 Stack overflow in recursive component adapters

Impact

wasmtime is optional behind the wasm feature flag in model-compute. Users who do not enable this feature are not exposed. However, any cargo-audit run against this workspace will flag these advisories until wasmtime is updated.

Verification

  • cargo check -p model-compute --features wasm passes with wasmtime 45.0.2
  • All 5 advisories cleared in cargo audit output

Related

🤖 Generated with Claude Code

wasmtime 29.0.1 has five active security advisories in the RustSec
advisory database, all patched in >=36.0.7:

  RUSTSEC-2026-0021  panic on out-of-bounds table access
  RUSTSEC-2026-0085  data race in async host functions
  RUSTSEC-2026-0086  use-after-free in component model
  RUSTSEC-2026-0087  bounds check bypass in memory64
  RUSTSEC-2026-0088  stack overflow in recursive component adapters

The `wasm` feature in model-compute is optional and off by default,
so users who do not activate it are not exposed. However, any
cargo-audit run against this workspace will flag the advisory until
wasmtime is updated.

Cargo.lock now resolves to wasmtime 45.0.2.

Closes #166
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant