CVE-2023-29406Published Jul 11, 2023 · Jul 11Updated Oct 28
Insufficient sanitization of Host header in net/http
Go standard library net/http
Medium6.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| stdlib Go |
|
|
Original 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.
From the CVE record · Go