chore(deps): fix cargo audit advisories#15982
Conversation
2210e62 to
6858c7f
Compare
e4e0e35 to
fb19366
Compare
There was a problem hiding this comment.
Pull request overview
Updates Rust dependencies and the cargo-audit configuration to clear CI audit failures by addressing two advisories via crate upgrades and suppressing one known-unsound advisory that is currently not practically fixable due to an upstream breaking change.
Changes:
- Bump
wiremockfrom0.5.xto0.6.5(removing thehttp-typesdependency chain). - Bump
quinn-protofrom0.11.14to0.11.15(security fix for remote memory exhaustion). - Update
.cargo/audit.tomlto drop a stale ignore and add an ignore forRUSTSEC-2026-0186(memmap2) with rationale and TODO.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| Cargo.toml | Bumps wiremock to 0.6.5 in workspace dependencies. |
| Cargo.lock | Updates the lockfile to reflect wiremock/quinn-proto upgrades and their transitive dependency changes. |
| .cargo/audit.toml | Removes a dead ignore entry and adds an ignore for RUSTSEC-2026-0186 with justification/TODO. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #15982 +/- ##
==========================================
+ Coverage 72.61% 72.63% +0.01%
==========================================
Files 952 952
Lines 205126 205126
Branches 205126 205126
==========================================
+ Hits 148961 148985 +24
+ Misses 51185 51167 -18
+ Partials 4980 4974 -6
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Resolves the cargo audit failures (CI runs
cargo audit -D warnings, so the notice/unsound advisories fail the gate too):quinn-proto0.11.14 -> 0.11.15, fixing remote memory exhaustion from unbounded out-of-order stream reassembly.wiremock0.5 -> 0.6.5, which drops thehttp-typesdependency entirely.memmap2): added to the.cargo/audit.tomlignore list. The unsoundness is confined toadvise_range/flush_range/flush_async_range/unchecked_advise_range. Its only consumer here isdynasmrt 2.0(near-vm singlepass JIT; the wasmtime path does not use dynasmrt), which calls none of those, onlymap_anon/make_exec/make_mut. The fix is inmemmap2 >= 0.9.11, unreachable without a breakingdynasmrt2.0 -> 3.0 upgrade of the x86-64 emitter. A TODO marks it for removal when near-vm is deprecated.Also drops a stale ignore entry while here:
lock_api < 0.4.2): no longer matches the lockfile (we are onlock_api 0.4.13), so the ignore was dead weight.