Repository navigation
fix(security): patch Wasmtime and minimatch advisories - #3077
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
bashkit | 143cb2d | Commit Preview URL Branch Preview URL |
Dec 05 2026, 01:36 AM |
There was a problem hiding this comment.
Advisory patch looks correct: exact =48.0.11 pin with threat-model rationale, all three lockfiles and the vet snapshot move together, minimatch goes to 11.0.10 in both JS workspaces, and the chrono suppressions are genuine (both crates are in the root graph with no patched version) and documented in deny.toml, audit-lockfiles.sh, and the threat-model table. Two minor consistency suggestions below, neither blocking.
|
|
||
| [dependencies] | ||
| wasmtime = { version = "49.0.6", default-features = false, features = ["component-model", "cranelift", "runtime", "std"] } | ||
| wasmtime = { version = "48.0.11", default-features = false, features = ["component-model", "cranelift", "runtime", "std"] } |
There was a problem hiding this comment.
[P2] Caret pin drifts from the "pinned exactly" policy: version = "48.0.11" permits a later cargo update to pull an unvetted 48.0.x into this workspace, while the root Cargo.toml (line 26) and the TM-PY-CPY-013 boundary it cites both require an exact pin (=48.0.11). The example is publish = false, so the blast radius is local, but since this PR's stated goal is pinning a patched runtime line, consider version = "=48.0.11" here too for consistency.
| # Chrono and chrono-tz are classified unmaintained across every published | ||
| # version, with no patched upgrade. Keep date/TZ behavior while migrating | ||
| # to maintained replacements; remove these once neither is in the graph. | ||
| "RUSTSEC-2026-0543", |
There was a problem hiding this comment.
[P2] The chrono/chrono-tz exceptions say "while migrating to maintained replacements" but name no tracking issue, unlike the adjacent rsa entry which anchors to TM-CRY-002. I verified both crates are genuinely in the root graph (Cargo.lock: chrono 0.4.45, chrono-tz 0.10.4) with no patched version available, so the suppression itself is justified — but without an issue link there is no forcing function for the "remove these once neither is in the graph" step. Consider adding the migration issue number to this comment (and the matching audit-lockfiles.sh / threat-model notes).
Review summary (head
|
What changed
Pin the CPython WASM host and Hyperlight example to Wasmtime 48.0.11, the patched line for the December Wasmtime and Cranelift advisories. Refresh the root, fuzz and Hyperlight lockfiles and the cargo-vet publisher snapshot. The
.cwasmis rebuilt from the committed wasm guest during the build, so it matches the new host runtime. Raise the tooling-onlyminimatchfloor to 11.0.10 in DeepSec and JavaScript test lockfiles after their audit gate found GHSA-3924-r96c-gp9w.Why
Wasmtime 49.0.6 is affected by newly published RustSec advisories and has no patched 49.x release. The patched 50.x line would raise the consumer Rust floor from 1.96 to 1.97. Wasmtime 48.0.11 retains that floor and removes the findings. The existing chrono and chrono-tz unmaintained notices have no patched versions; their narrowly scoped exceptions are documented in both advisory gates and the threat model.
minimatch11.0.8/11.0.9 is affected by the new shared-cache advisory; 11.0.10 is patched.Before / After
Before: all three Cargo lockfiles resolved Wasmtime 49.0.6, and DeepSec and JavaScript test lockfiles resolved vulnerable
minimatch; the CI audit gate failed. After: all three Cargo lockfiles resolve 48.0.11, both npm lockfiles resolveminimatch11.0.10, the root/fuzz/Hyperlight cargo-deny advisory scans pass, and bothpnpm auditcalls report no known vulnerabilities. Frozen npm lockfile checks pass. The locked cargo-vet audit passes after refreshing 33 publisher records against each release's crates.io trusted-publishing attestation; no audit exemption was added. The CPython feature compilation, all-feature Clippy, 139 CPython integration and security tests, 19 serialized failpoint tests, 300 script tests, documentation links, knowledge validation and workflow parity checks pass. The HTTP-enabled test slice passes 4,068 library and 2,761 integration tests, plus other test targets and doc tests, with four unrelated process-cleanup assertions skipped: this runner's PID 1 retains killed descendants as zombies, so those tests cannot observe ESRCH here. The same unfiltered suite is green on current main in GitHub CI. Exact-head CI will validate the full patch on the hosted runner.Risk
Medium: a runtime-line change recompiles the host's precompiled CPython module and can change execution behavior. The targeted runtime and security suite covers guest loading, isolation, limits and HTTP bridge behavior. The older Wasmtime line is security patched; it is not an unpatched downgrade. The npm change only affects scanning and test tooling.
Checklist