{"schema_version":"1.9.0","id":"BIT-golang-2023-29406","published":"2024-03-06T10:55:04.890Z","modified":"2026-09-08T08:47:48.917667899Z","aliases":["CVE-2023-29406","GO-2023-1878"],"summary":"Insufficient sanitization of Host header in net/http","details":"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":[{"package":{"name":"golang","ecosystem":"Bitnami","purl":"pkg:bitnami/golang"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.19.11"},{"introduced":"1.20.0"},{"fixed":"1.20.6"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/golang/BIT-golang-2023-29406.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"}]}],"references":[{"type":"FIX","url":"https://go.dev/cl/506996"},{"type":"FIX","url":"https://go.dev/issue/60374"},{"type":"DISCUSSION","url":"https://groups.google.com/g/golang-announce/c/2q13H6LEEx0"},{"type":"ADVISORY","url":"https://pkg.go.dev/vuln/GO-2023-1878"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202311-09"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20230814-0002/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-29406"}],"database_specific":{"cpes":["cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*"],"severity":"Medium"}}