HighGHSA-c33x-xqrf-c478CVE-2024-22189GO-2024-2682

QUIC's Connection ID Mechanism vulnerable to Memory Exhaustion Attack

Published 2 Apr 2024 · Updated 10 Sept 2026

Is your project on an affected github.com/quic-go/quic-go?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<0.42.0
Fixed in
0.42.0
Update to the fixed version for your release line, for example:go get github.com/quic-go/quic-go@v0.42.0

Details

An attacker can cause its peer to run out of memory by sending a large number of NEW_CONNECTION_ID frames that retire old connection IDs. The receiver is supposed to respond to each retirement frame with a RETIRE_CONNECTION_ID frame. The attacker can prevent the receiver from sending out (the vast majority of) these RETIRE_CONNECTION_ID frames by collapsing the peers congestion window (by selectively acknowledging received packets) and by manipulating the peer's RTT estimate.

I published a more detailed description of the attack and its mitigation in this blog post: https://seemann.io/posts/2024-03-19-exploiting-quics-connection-id-management/. I also presented this attack in the IETF QUIC working group session at IETF 119: https://youtu.be/JqXtYcZAtIA?si=nJ31QKLBSTRXY35U&t=3683

There's no way to mitigate this attack, please update quic-go to a version that contains the fix.

Is GHSA-c33x-xqrf-c478 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/quic-go/quic-go, and gives you the command that fixes it.

More advisories for github.com/quic-go/quic-go

  • LowCVE-2026-40898HTTP/3 QPACK Trailer Expansion Memory Exhaustion in github.com/quic-go/quic-go · 7 Jul 2026
  • MediumCVE-2026-40898quic-go: HTTP/3 QPACK Trailer Expansion Memory Exhaustion · 3 Jun 2026
  • LowCVE-2025-64702HTTP/3 QPACK Header Expansion DoS in github.com/quic-go/quic-go · 15 Dec 2025
  • MediumCVE-2025-64702quic-go HTTP/3 QPACK Header Expansion DoS · 11 Dec 2025
  • LowCVE-2025-59530Panic occurs when queuing undecryptable packets after handshake completion in github.com/quic-go/quic-go · 5 Nov 2025
  • HighCVE-2025-59530quic-go: Panic occurs when queuing undecryptable packets after handshake completion · 10 Oct 2025
All 15 advisories for github.com/quic-go/quic-go

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.