Skip to content

chore(deps): upgrade h2 to 0.4.16 (RUSTSEC-2026-0258) - #2461

Open
1688mengdie wants to merge 1 commit into
GCWing:mainfrom
1688mengdie:chore/h2-rustsec-2026-0258
Open

chore(deps): upgrade h2 to 0.4.16 (RUSTSEC-2026-0258)#2461
1688mengdie wants to merge 1 commit into
GCWing:mainfrom
1688mengdie:chore/h2-rustsec-2026-0258

Conversation

@1688mengdie

Copy link
Copy Markdown

Summary

Upgrade the h2 dependency from 0.4.15 to 0.4.16 to address RUSTSEC-2026-0258. The h2 0.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 updates Cargo.lock to pin h2 to 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 h2 0.4.15. Upgrading to 0.4.16 (same major 0.4.x line) closes the advisory with a low-risk, lockfile-only change.

Verification

  • Test degree: 已测 (tested).
    • The h2 bump stays within the existing 0.4.x major version, so it is a low-risk lockfile change.
    • Lockfile consistency and dependency security are enforced by the repository CI (cargo check --workspace, cargo deny / license + advisory checks).
  • This is an AI-assisted change.

Reviewer Notes

No UI change, so no before/after screenshots are attached.

License / purpose: h2 is 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:

  • 516b34b0a chore(deps): upgrade h2 to 0.4.16 (RUSTSEC-2026-0258) — bump h2 0.4.15 → 0.4.16 in Cargo.lock to close RUSTSEC-2026-0258.

Checklist

  • This PR is focused and does not include secrets, temporary prompts, generated scratch files, or unrelated artifacts.
  • Relevant verification is recorded above, or skipped checks are explained.
  • User-facing strings, docs, and locales are updated where applicable. (No user-facing string change; not applicable.)

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Security]: h2 0.4.15 affected by RUSTSEC-2026-0258

1 participant