published 11 Jul 2023 · updated 16 Nov 2026
Insufficient sanitization of Host header in net/http
6.5MediumCVSS 6.5EPSS 1%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 1.19.11 and 1.20.6.
The HTTP/1 client does not fully validate the contents of the Host header. A maliciously crafted Host header can inject additional headers or entire requests. With fix, the HTTP/1 client now refuses to send requests containing an invalid Request.Host or Request.URL.Host value.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Go standard library | <1.19.11, >=1.20.0-0 <1.20.6 | 1.19.11, 1.20.6 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket