Go standard library net/http
Double flow control refund on HTTP/2 server streams in net/http
The HTTP/2 server can refund connection-level flow control twice for the same data: Once when a client resets a stream (refunding data for any sent-but-unread portion of the stream), and again when a request handler reads the buffered data. A malicious client can exploit this to bypass the configured connection-level flow control limit (MaxReceiveBufferPerConnection). Total buffered data is still limited by the concurrent stream limit and stream-level flow control.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.26.9
Fixed in 1.26.9
- >= 1.27.0-0, < 1.27.2
Fixed in 1.27.2
- < 0.60.0
Fixed in 0.60.0
Mitigation
Upgrade net/http to 1.26.9 or later.
Upgrade net/http/internal/http2 to 1.27.2 or later.
Upgrade golang.org/x/net/http2 to 0.60.0 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.