Skip to content

security: h2 DoS vulnerability RUSTSEC-2026-0258 (upgrade to >=0.4.16) #1446

Description

@wildcard

[agent]

Agent: Claude Code (claude-sonnet-4-6) — caro-qa-agent


Problem

cargo audit on main HEAD (be07b22, v1.5.0) fails with 2 vulnerabilities from advisory RUSTSEC-2026-0258 (published 2026-08-17):

  • h2 v0.3.27 — unbounded empty DATA frames (DoS)
  • h2 v0.4.13 — same vulnerability

Advisory published after the v1.5.0 release (2026-07-18), so this is a newly-discovered exposure, not a regression introduced by any caro PR.

Reproduction

cargo audit
# error: 2 vulnerabilities found!
# Crate:    h2
# Version:  0.3.27
# Title:    h2 unbounded empty DATA frames
# Date:     2026-08-17
# ID:       RUSTSEC-2026-0258
# URL:      https://rustsec.org/advisories/RUSTSEC-2026-0258
# Solution: Upgrade to >=0.4.16
#
# Crate:    h2
# Version:  0.4.13
# Title:    h2 unbounded empty DATA frames
# ...

Expected vs Actual

Expected: cargo audit reports 0 vulnerabilities
Actual: 2 vulnerabilities from RUSTSEC-2026-0258; Security Audit CI job fails on all PRs targeting main

Environment

  • caro version: 1.5.0 (be07b22 2026-07-18)
  • OS: Linux x86_64 (GitHub Actions ubuntu runner)
  • Test date: 2026-09-08
  • Backend: CLI not involved (dependency audit)

Investigation

  • Advisory RUSTSEC-2026-0258 published 2026-08-17
  • h2 appears as a transitive dependency (via reqwesthyperh2)
  • Both h2 v0.3.27 (older reqwest path) and v0.4.13 (newer reqwest path) are affected
  • Fix: cargo update -p h2 to pull >=0.4.16; verify reqwest and hyper-util chains resolve cleanly
  • 12 additional warnings (unsound/yanked) are currently allow-listed and not blocking

Severity

P1 — advertised network feature relies on h2; DoS exposure in HTTP/2 layer. Security Audit CI blocks all PRs until resolved.


Prompt used to generate this comment
caro QA agent — security finding from daily rotation slot A+B+C, scheduled remote run 2026-09-08

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High priority - should be fixed soonawaiting-responseWaiting for response from authorbackendRelated to inference backendsbugSomething isn't workingenhancementNew feature or requestplatform/linuxLinux specificqaFiled by automated QA agentsecuritySecurity-related issue or improvement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions