{"id":"CVE-2023-29406","published":"2023-07-11T19:23:58Z","modified":"2025-02-13T16:49:14Z","title":"Insufficient sanitization of Host header in net/http","vendor":"Go standard library","product":"net/http","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01453,"percentile":0.74067,"provenance":"source"},"cwes":[],"references":[{"url":"https://go.dev/issue/60374","tags":[]},{"url":"https://go.dev/cl/506996","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/2q13H6LEEx0","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2023-1878","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20230814-0002/","tags":[]},{"url":"https://security.gentoo.org/glsa/202311-09","tags":[]}],"priority":{"score":19.8,"factors":[{"name":"EPSS percentile","points":14.81},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2023-11-11","earliestUrl":"https://github.com/LuizGustavoP/EP3_Redes","repos":[{"name":"LuizGustavoP/EP3_Redes","url":"https://github.com/LuizGustavoP/EP3_Redes","stars":0,"created":"2023-11-11"}]},"first":{"date":"2023-11-11","source":"PoC-in-GitHub","url":"https://github.com/LuizGustavoP/EP3_Redes"},"provenance":"source"},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"net/http","versions":["< 1.19.11",">= 1.20.0-0, < 1.20.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-11-07T15:39:42.813114Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.19.11",">=1.20.0-0, <1.20.6"],"patched":["1.19.11","1.20.6"],"from":["GO-2023-1878"],"provenance":"source"}],"summary":{"text":"The Go standard library's net/http package has an insufficient sanitization flaw in its HTTP/1 client, which does not fully validate the contents of the Host header.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:46:52Z"},"euvd":{"id":"EUVD-2023-32977","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-24540","published":"2023-05-11","fixed":"1.20.4","kev":false},{"cve":"CVE-2023-29400","published":"2023-05-11","fixed":"1.20.4","kev":false},{"cve":"CVE-2023-29403","published":"2023-06-08","fixed":"1.20.5","kev":false,"link":{"from":"CVE-2023-29403","to":"CVE-2023-29406","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.19.10","toFixed":"1.19.11","daysApart":33}]}},{"cve":"CVE-2023-29406","published":"2023-07-11","fixed":"1.20.6","kev":false},{"cve":"CVE-2023-29409","published":"2023-08-02","fixed":"1.21.0-rc.4","kev":false,"link":{"from":"CVE-2023-29406","to":"CVE-2023-29409","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.19.11","toFixed":"1.19.12","daysApart":22}]}},{"cve":"CVE-2023-39318","published":"2023-09-08","fixed":"1.21.1","kev":false},{"cve":"CVE-2023-39319","published":"2023-09-08","fixed":"1.21.1","kev":false}],"package":"Go:stdlib"}}