Description
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 products
- Go standard library / net/http0 – 1.19.11
- Go standard library / net/http1.20.0-0 – 1.20.6
Updated 20m ago · 8 sources