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.
Metrics
CVSS 3.1 6.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Go standard library | net/http | < 1.19.11; >= 1.20.0-0, < 1.20.6 |
References
- https://go.dev/cl/506996Patch
- https://go.dev/issue/60374Issue Tracking, Patch
- https://groups.google.com/g/golang-announce/c/2q13H6LEEx0Mailing List
- https://pkg.go.dev/vuln/GO-2023-1878Vendor Advisory
- https://security.gentoo.org/glsa/202311-09
- https://security.netapp.com/advisory/ntap-20230814-0002/
- https://go.dev/cl/506996Patch
- https://go.dev/issue/60374Issue Tracking, Patch
- https://groups.google.com/g/golang-announce/c/2q13H6LEEx0Mailing List
- https://pkg.go.dev/vuln/GO-2023-1878Vendor Advisory
- https://security.gentoo.org/glsa/202311-09
- https://security.netapp.com/advisory/ntap-20230814-0002/
Timeline
- Published
- Jul 11, 2023
- Last modified
- Jun 17, 2026
- NVD status
- Modified