Skip to content

fix(deps): update h2 to 0.4.16 for RUSTSEC-2026-0258 - #105

Open
jmagar wants to merge 1 commit into
mainfrom
fix/rustsec-2026-0258-h2
Open

jmagar wants to merge 1 commit into
mainfrom
fix/rustsec-2026-0258-h2

Conversation

@jmagar

@jmagar jmagar commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

Updates the transitive h2 dependency to 0.4.16 to clear RUSTSEC-2026-0258, which currently fails the Security Audit / Cargo Deny job on every CI run in this repo.

Advisory RUSTSEC-2026-0258 / GHSA-q83h-524g-xf6h
Published 2026-08-17
Severity Low (denial of service)
Patched in 0.4.16

h2 before 0.4.16 accepts and queues empty DATA frames without limit. If streams are not actively drained this can lead to unbounded memory usage, or a panic if the length overflows.

h2 arrives transitively through hyper. Applied with cargo update -p h2 --precise 0.4.16, so only Cargo.lock changes and only the h2 entry moves — no other dependency is touched and no manifest is edited.

Note this repo also has CI jobs failing on docker: command not found on the self-hosted runners. That is a separate runner-provisioning issue and is not addressed here.

h2 before 0.4.16 accepts and queues empty DATA frames without limit. If
streams are not actively drained this can cause unbounded memory usage, or a
panic if the length overflows. Low severity denial-of-service, published
2026-08-17, patched upstream in 0.4.16.

  RUSTSEC-2026-0258 / GHSA-q83h-524g-xf6h
  GHSA-q83h-524g-xf6h

h2 is a transitive dependency via hyper. Applied with
`cargo update -p h2 --precise 0.4.16`, so the lockfile moves h2 only and no
other dependency is touched.

This is what fails the Security Audit / Cargo Deny job on current CI runs.
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.

1 participant