fix(deps): bump h2 to 0.4.18 to fix RUSTSEC-2026-0258 - #1334
Closed
lym953 wants to merge 1 commit into
Closed
Conversation
The Audit (cargo-audit) check fails on main: h2 0.4.13 accepts and queues empty DATA frames without limit (RUSTSEC-2026-0258), patched in 0.4.16. Lockfile-only change; LICENSE-3rdparty.csv is unchanged since h2 is already listed and no crates were added or removed. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Contributor
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
The Audit check (
cargo-audit) is failing onmain: RUSTSEC-2026-0258 —h2accepts and queues empty DATA frames without limit, which can lead to unbounded memory usage or a panic on length overflow. Low severity, patched inh20.4.16.This bumps
h20.4.13 → 0.4.18 inbottlecap/Cargo.lock. Lockfile-only; no source changes.Notes on the diff:
LICENSE-3rdparty.csvis unchanged.h2is already listed there (the CSV carries no versions) and no crates were added or removed, sodd-rust-license-tool writeproduces no change for this bump.h2lines. Runningcargo update -p h2locally also re-resolved six unrelatedwindows-sysentries downward (0.61.2 → 0.52.0/0.60.2); that churn was reverted, andcargo metadata --lockedconfirms the lockfile is still self-consistent.Testing
cargo auditlocally on the updated lockfile: 0 vulnerabilities. The 9 remainingunmaintained/unsoundwarnings are pre-existing onmainand are not what fails the check (the job failed on "Critical vulnerabilities were found").cargo metadata --lockedsucceeds, i.e. the hand-edited lockfile needs no further resolution.cargo clippy/cargo fmtwere not re-run; CI covers the build.🤖 Generated with Claude Code