Update dependency h2 to v4.3.0 [SECURITY] #40
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==4.1.0->==4.3.0GitHub Vulnerability Alerts
CVE-2025-57804
Summary
HTTP/2 request splitting vulnerability allows attackers to perform request smuggling attacks by injecting CRLF characters into headers. This occurs when servers downgrade HTTP/2 requests to HTTP/1.1 without properly validating header names/values, enabling attackers to manipulate request boundaries and bypass security controls.
Release Notes
python-hyper/h2 (h2)
v4.3.0Compare Source
API Changes (Backward Incompatible)
The main Python API is compatible, but some previously valid requests/response headers might now be blocked.
Use the
validate_inbound_headersconfig option if needed.Thanks to Sebastiano Sartor (sebsrt) for the report.
API Changes (Backward Compatible)
stream_idis guaranteed to not beNonefor most events now.This simplifies downstream type checking.
Bugfixes
v4.2.0Compare Source
API Changes (Backward Incompatible)
max_inbound_frame_sizeattribute onH2Stream.API Changes (Backward Compatible)
Bugfixes
Configuration
📅 Schedule: Branch creation - "" (UTC), 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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.