HTTP/2 server crash due to HPACK encoder race in net/http
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 1.27.2, 1.26.9, 0.60.0 and 3 more.
HTTP/2 servers could end up crashing due to inadvertently modifying its HPACK encoder concurrently. This happens because the server modifies the HPACK encoder from two goroutines without synchronization: one uses the encoder to encode a HEADERS frame as part of a response sent to a client and the other modifies the encoder's table size when handling a SETTINGS frame containing SETTINGS_HEADER_TABLE_SIZE that a client sends. A malicious client can repeatedly send a request while changing the header table size to crash the server.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Go standard library | >=1.27.0-0 <1.27.2, <1.26.9 | 1.27.2, 1.26.9 | |
| golang.org/x/net | <0.60.0 | 0.60.0 | |
| go: golang.org/x/net | <0.60.0 | 0.60.0 | |
| go: stdlib | <1.26.9, >=1.27.0-0 <1.27.2 | 1.26.9, 1.27.2 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in golang.org/x/net (Go), strongest first
Embed
A live severity badge for an advisory, README or ticket