Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update rust crate h2 to v0.3.26 [security] - autoclosed #417

Closed
wants to merge 1 commit into from

Conversation

stackable-bot
Copy link
Contributor

This PR contains the following updates:

Package Type Update Change
h2 workspace.dependencies patch =0.3.18 -> =0.3.26

GitHub Vulnerability Alerts

GHSA-8r5v-vm4m-4g25

An attacker with an HTTP/2 connection to an affected endpoint can send a steady stream of invalid frames to force the
generation of reset frames on the victim endpoint.
By closing their recv window, the attacker could then force these resets to be queued in an unbounded fashion,
resulting in Out Of Memory (OOM) and high CPU usage.

This fix is corrected in hyperium/h2#737, which limits the total number of
internal error resets emitted by default before the connection is closed.

GHSA-q6cp-qfwq-4gcv

An attacker can send a flood of CONTINUATION frames, causing h2 to process them indefinitely. This results in an increase in CPU usage.

Tokio task budget helps prevent this from a complete denial-of-service, as the server can still respond to legitimate requests, albeit with increased latency.

More details at https://seanmonstar.com/blog/hyper-http2-continuation-flood/.

Patches available for 0.4.x and 0.3.x versions.


Release Notes

hyperium/h2 (h2)

v0.3.26

Compare Source

What's Changed
  • Limit number of CONTINUATION frames for misbehaving connections.

See https://seanmonstar.com/blog/hyper-http2-continuation-flood/ for more info.

v0.3.25

Compare Source

What's Changed

Full Changelog: hyperium/h2@v0.3.24...v0.3.25

v0.3.24

Compare Source

Fixed
  • Limit error resets for misbehaving connections.

v0.3.23

Compare Source

What's Changed

v0.3.22

Compare Source

  • Add header_table_size(usize) option to client and server builders.
  • Improve throughput when vectored IO is not available.
  • Update indexmap to 2.

v0.3.21

Compare Source

  • Fix opening of new streams over peer's max concurrent limit.
  • Fix RecvStream to return data even if it has received a CANCEL stream error.
  • Update MSRV to 1.63.

v0.3.20

Compare Source

  • Fix panic if a server received a request with a :status pseudo header in the 1xx range.
  • Fix panic if a reset stream had pending push promises that were more than allowed.
  • Fix potential flow control overflow by subtraction, instead returning a connection error.

v0.3.19

Compare Source

  • Fix counting reset streams when triggered by a GOAWAY.
  • Send too_many_resets in opaque debug data of GOAWAY when too many resets received.

Configuration

📅 Schedule: Branch creation - "" in timezone Europe/Berlin, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@stackable-bot stackable-bot added the dependencies Pull requests that update a dependency file label May 7, 2024
@stackable-bot stackable-bot requested a review from a team May 7, 2024 09:04
@stackable-bot stackable-bot changed the title chore(deps): update rust crate h2 to v0.3.26 [security] chore(deps): update rust crate h2 to v0.3.26 [security] - autoclosed May 14, 2024
@stackable-bot stackable-bot deleted the renovate/crate-h2-vulnerability branch May 14, 2024 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant