ADVISORIES

Go Vulnerability Database

GO-2024-2682

Denial of service via connection starvation in github.com/quic-go/quic-go

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.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/quic-go/quic-go
All versions before 0.42.0 (fixed in 0.42.0)

References