Skip to content

chore(deps): update module github.com/quic-go/webtransport-go to v0.11.1 [security] - #1888

Merged
paralta merged 1 commit into
mainfrom
renovate/go-github.com-quic-go-webtransport-go-vulnerability
Jul 27, 2026
Merged

paralta merged 1 commit into
mainfrom
renovate/go-github.com-quic-go-webtransport-go-vulnerability

Conversation

@agntcy-automation

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/quic-go/webtransport-go v0.10.0 → v0.11.1 age confidence

Warning

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.ReadAll when 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.Discard instead of buffering them. This consumes the capsule body so parsing can continue, without retaining the payload in memory.

Severity

  • CVSS Score: 5.3 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

References

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.1

Compare Source

This patch release contains the following backports :

  • Avoid buffering skipped capsules: #​290
  • Close active QUIC connections before tearing down the listener: #​295
  • Fix missing context cancelation in Session.OpenStreamSync and Session.OpenUniStreamSync: #​297

Full Changelog: quic-go/webtransport-go@v0.11.0...v0.11.1

v0.11.0

Compare 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
  • webtransport-go now requires Go 1.25 or newer: #​243
Protocol Changes
  • Use SETTINGS_WT_ENABLED for WebTransport draft-version negotiation. The server continues to accept the old ENABLE_WEBTRANSPORT setting for compatibility with older clients: #​254
  • Send SETTINGS_WT_ENABLED from the client, as required by draft-15: #​271 (thanks to @​tobbee)
  • Use webtransport-h3 as the Extended CONNECT :protocol token. The server continues to accept the legacy webtransport token for compatibility with older clients: #​280 (thanks to @​tomholford)
  • Use the WT_REQUIREMENTS_NOT_MET error when the peer does not advertise the required HTTP/3 or WebTransport capabilities: #​252
  • Add support for the WT_ALPN_ERROR session error: #​277
  • Validate WebTransport session IDs before accepting incoming streams: #​283
  • Advertise SETTINGS values as required by Safari 26.4: #​261 (thanks to @​birros)
New Features
  • Added a runnable example server and client, including browser-side JavaScript and certificate hash verification in the Go client: #​285
Notable Fixes
  • Fixed a stream close race condition where ReceiveStream.Read or SendStream.Write could block forever when the local and remote side closed a session concurrently: #​267 (thanks to @​aler9)
  • Server.ListenAndServe now closes the UDP socket it creates: #​274
What's Changed
New Contributors

Full Changelog: quic-go/webtransport-go@v0.10.0...v0.11.0

@agntcy-automation
agntcy-automation Bot requested a review from a team as a code owner July 25, 2026 00:38
@agntcy-automation agntcy-automation Bot added go Pull requests that update go code security labels Jul 25, 2026
@agntcy-automation

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: cli/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 1 additional dependency was updated

Details:

Package Change
github.com/quic-go/quic-go v0.59.1 -> v0.60.0
File name: samples/ard-over-ads/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 1 additional dependency was updated

Details:

Package Change
github.com/quic-go/quic-go v0.59.1 -> v0.60.0
File name: server/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 1 additional dependency was updated

Details:

Package Change
github.com/quic-go/quic-go v0.59.1 -> v0.60.0

@github-actions github-actions Bot added the size/XS Denotes a PR that changes 0-49 lines label Jul 25, 2026
@codecov

codecov Bot commented Jul 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@paralta
paralta merged commit 6048f6b into main Jul 27, 2026
33 checks passed
@paralta
paralta deleted the renovate/go-github.com-quic-go-webtransport-go-vulnerability branch July 27, 2026 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go Pull requests that update go code security size/XS Denotes a PR that changes 0-49 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant