Go standard library net/http
Apply ReadHeaderTimeout when doing unencrypted HTTP/2 check in net/http
When a server is configured to support unencrypted HTTP/2, it reads a few bytes from each new connection to see if they contain the HTTP/2 client preface. ReadHeaderTimeout is unexpectedly not being applied when doing this.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CISA ADP · CWE-770
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Go standard library net/http
- < 1.25.13
- >= 1.26.0-0, < 1.26.6
- >= 1.27.0-0, < 1.27.0-rc.3
Fixed in 1.25.13, 1.26.6, 1.27.0-rc.3
Mitigation
Upgrade net/http to 1.25.13 or 1.26.6 or 1.27.0-rc.3 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.