Repository navigation
chore(deps): update module github.com/quic-go/webtransport-go to v0.11.1 [security] - #1888
Merged
paralta merged 1 commit intoJul 27, 2026
Conversation
Contributor
Author
ℹ️ Artifact update noticeFile name: cli/go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
File name: samples/ard-over-ads/go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
File name: server/go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
paralta
approved these changes
Jul 27, 2026
paralta
deleted the
renovate/go-github.com-quic-go-webtransport-go-vulnerability
branch
July 27, 2026 08:45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
v0.10.0→v0.11.1Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
webtransport-go: Memory Exhaustion Attack due to Buffering of Unknown Capsules
CVE-2026-57497 / GHSA-g35j-m5xg-vh3q
More information
Details
Summary
An attacker can cause excessive memory allocation in webtransport-go by sending an unknown WebTransport capsule with a large payload. The implementation skips unknown capsules by reading the entire capsule body into memory, instead of draining it without retaining the data. This can lead to memory exhaustion.
Impact
A misbehaving or malicious peer can cause a denial-of-service (DoS) attack against webtransport-go clients or servers by triggering excessive memory allocation, potentially leading to crashes or resource exhaustion.
Details
WebTransport sessions use capsules on the HTTP/3 request stream. Unknown capsule types are ignored, but the capsule body still needs to be consumed before the next capsule can be parsed.
webtransport-go used
io.ReadAllwhen skipping unknown capsules. Since the capsule reader is only limited by the capsule's declared length, a peer could send a large unknown capsule and cause the receiver to allocate memory for the full capsule body.QUIC flow control limits buffered data, but it does not bound total allocation here, since reading the stream advances the flow control window while retaining the received bytes in memory.
The Fix
webtransport-go now drains unknown capsules to
io.Discardinstead of buffering them. This consumes the capsule body so parsing can continue, without retaining the payload in memory.Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Release Notes
quic-go/webtransport-go (github.com/quic-go/webtransport-go)
v0.11.1Compare Source
This patch release contains the following backports :
Session.OpenStreamSyncandSession.OpenUniStreamSync: #297Full Changelog: quic-go/webtransport-go@v0.11.0...v0.11.1
v0.11.0Compare Source
This release focuses on full compatibility with draft-15. The server keeps limited backwards compatibility with older draft clients where this is straightforward, but that compatibility is intentionally not comprehensive.
WebTransport flow control is not supported yet (see issue #256).
Breaking Changes
Protocol Changes
SETTINGS_WT_ENABLEDfor WebTransport draft-version negotiation. The server continues to accept the oldENABLE_WEBTRANSPORTsetting for compatibility with older clients: #254SETTINGS_WT_ENABLEDfrom the client, as required by draft-15: #271 (thanks to @tobbee)webtransport-h3as the Extended CONNECT:protocoltoken. The server continues to accept the legacywebtransporttoken for compatibility with older clients: #280 (thanks to @tomholford)WT_REQUIREMENTS_NOT_METerror when the peer does not advertise the required HTTP/3 or WebTransport capabilities: #252WT_ALPN_ERRORsession error: #277New Features
Notable Fixes
ReceiveStream.ReadorSendStream.Writecould block forever when the local and remote side closed a session concurrently: #267 (thanks to @aler9)Server.ListenAndServenow closes the UDP socket it creates: #274What's Changed
New Contributors
Full Changelog: quic-go/webtransport-go@v0.10.0...v0.11.0