Skip to content

fix: update h2 to 0.4.19 to resolve RUSTSEC-2026-0258 - #340

Merged
antonbaliasnikov merged 1 commit into
mainfrom
fix-cargo-deny-h2-advisory
Sep 23, 2026
Merged

antonbaliasnikov merged 1 commit into
mainfrom
fix-cargo-deny-h2-advisory

Conversation

@antonbaliasnikov

Copy link
Copy Markdown
Contributor

What

cargo update -p h2: bumps h2 in Cargo.lock from 0.4.12 to 0.4.19. As a side effect cargo also synced the stale workspace member versions in the lockfile from 1.5.16 to the current 1.5.17.

Why

The cargo-checks job fails on every open PR (#338, #339) at the "Cargo deny" step:

error[vulnerability]: h2 unbounded empty DATA frames
   ID: RUSTSEC-2026-0258
   Solution: Upgrade to >=0.4.16 (try `cargo update -p h2`)
advisories FAILED, bans ok, licenses ok, sources ok

This is a new RustSec advisory, not related to the PR changes. main has not run CI since July, so it is affected too.

Verification

Ran the same command CI uses locally against the updated lockfile:

cargo deny --all-features check --allow unmaintained --hide-inclusion-graph
advisories ok, bans ok, licenses ok, sources ok

🤖 Generated with Claude Code

cargo-deny fails on main and every open PR because h2 0.4.12 in Cargo.lock
is affected by RUSTSEC-2026-0258 (unbounded empty DATA frames, patched in
0.4.16). Update the lockfile entry via `cargo update -p h2`.

The same update also syncs the stale workspace member versions in
Cargo.lock from 1.5.16 to the current 1.5.17.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@antonbaliasnikov
antonbaliasnikov enabled auto-merge (squash) September 22, 2026 16:03
@codecov

codecov Bot commented Sep 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.60%. Comparing base (d55ef42) to head (9216348).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #340   +/-   ##
=======================================
  Coverage   75.60%   75.60%           
=======================================
  Files         124      124           
  Lines       11308    11308           
=======================================
  Hits         8549     8549           
  Misses       2759     2759           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@antonbaliasnikov
antonbaliasnikov merged commit 433e744 into main Sep 23, 2026
15 checks passed
@antonbaliasnikov
antonbaliasnikov deleted the fix-cargo-deny-h2-advisory branch September 23, 2026 09:14
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.

2 participants