chore(deps): upgrade h2 to 0.4.16 (RUSTSEC-2026-0258) - #2461
Open
1688mengdie wants to merge 1 commit into
Open
Conversation
Bump the transitive h2 dependency from 0.4.15 to 0.4.16 to close RUSTSEC-2026-0258 (h2 arbitrary-length HTTP/2 sequence-header DoS). Only the locked version and its checksum change; the dependency graph and all source files are untouched, so this is independent of any feature work. Test: cargo check --jobs 4 --workspace && cargo tree -i h2 (expected 0.4.16) AI: lightly tested
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.
Summary
Upgrade the
h2dependency from 0.4.15 to 0.4.16 to address RUSTSEC-2026-0258. Theh20.4.15 release in the lockfile is affected by this advisory; 0.4.16 is the patched release within the same 0.4.x line. The change updatesCargo.lockto pinh2to 0.4.16 — no application source changes.Fixes #2459
Type and Areas
Type: dependency
Areas: Rust core (dependency)
Motivation / Impact
RUSTSEC-2026-0258 is a security advisory affecting
h20.4.15. Upgrading to 0.4.16 (same major 0.4.x line) closes the advisory with a low-risk, lockfile-only change.Verification
h2bump stays within the existing 0.4.x major version, so it is a low-risk lockfile change.cargo check --workspace,cargo deny/ license + advisory checks).Reviewer Notes
No UI change, so no before/after screenshots are attached.
License / purpose:
h2is dual-licensed under Apache-2.0 / MIT and is an existing dependency (HTTP/2 support); the bump to 0.4.16 stays within the same major version.Commits:
516b34b0achore(deps): upgrade h2 to 0.4.16 (RUSTSEC-2026-0258)— bumph20.4.15 → 0.4.16 inCargo.lockto close RUSTSEC-2026-0258.Checklist