Skip to content

Bump wasmtime to 49.0.3 and rustls to 0.23.46 (RustSec advisories) - #339

Merged
fylorn merged 1 commit into
mainfrom
fix/audit-wasmtime-rustls
Oct 15, 2026
Merged

fylorn merged 1 commit into
mainfrom
fix/audit-wasmtime-rustls

Conversation

@fylorn

@fylorn fylorn commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

The scheduled Audit run on main fails on new RustSec advisories against two locked dependencies.

Change

  • wasmtime 49.0.2 → 49.0.3 (RUSTSEC-2026-0353 to -0364). tw-plugin pins the exact version in both [dependencies] and [build-dependencies], because the sandbox's machine code is precompiled in build.rs and only loads in the same Wasmtime release; both pins move together. Cranelift and the wasmtime-internal-* crates follow to 0.136.3 / 49.0.3; wasmparser and wasm-encoder stay at 0.258.3.
  • rustls 0.23.45 → 0.23.46 (RUSTSEC-2026-0346 to -0349), via cargo update -p rustls.

Only crates/tw-plugin/Cargo.toml and Cargo.lock change.

Exposure

Low for both. Most of the Wasmtime advisories are in the component model, which the plugin sandbox does not enable (core modules only, runtime + std). The rustls build here has no brotli certificate decompression and the gateway does not configure ECH; the remaining two (session Debug output, a key-exchange downgrade on later connections) are fixed by the bump.

Verification

  • cargo test -p tw-plugin passes: build.rs precompiles the sandbox with Cranelift 0.136.3 and the tests load and run it under the 49.0.3 runtime.
  • The Audit job runs on this PR because Cargo.lock changed.

🤖 Generated with Claude Code

The scheduled Audit on main fails on RUSTSEC-2026-0353 to -0364
(wasmtime 49.0.2) and RUSTSEC-2026-0346 to -0349 (rustls 0.23.45).

tw-plugin pins Wasmtime exactly in both [dependencies] and
[build-dependencies]: the sandbox is precompiled in build.rs and only
loads in the same release, so both pins move to 49.0.3 together.
Cranelift and the wasmtime-internal crates follow; wasmparser and
wasm-encoder stay at 0.258.3. rustls moves with cargo update -p rustls.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fylorn
fylorn merged commit 5110562 into main Oct 15, 2026
7 checks passed
@fylorn
fylorn deleted the fix/audit-wasmtime-rustls branch October 15, 2026 08:28
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant