{"id":"CVE-2023-45289","published":"2024-03-05T22:22:30Z","modified":"2025-02-13T17:14:01Z","title":"Incorrect forwarding of sensitive headers and cookies on HTTP redirect in net/http","vendor":"Go standard library","product":"net/http","tier":"tail","description":{"text":"When following an HTTP redirect to a domain which is not a subdomain match or exact match of the initial domain, an http.Client does not forward sensitive headers such as \"Authorization\" or \"Cookie\". For example, a redirect from foo.com to www.foo.com will forward the Authorization header, but a redirect to bar.com will not. A maliciously crafted HTTP redirect could cause sensitive headers to be unexpectedly forwarded.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.0108,"percentile":0.65972,"provenance":"source"},"cwes":[],"references":[{"url":"https://go.dev/issue/65065","tags":[]},{"url":"https://go.dev/cl/569340","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2024-2600","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20240329-0006/","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2024/03/08/4","tags":[]}],"priority":{"score":16.2,"factors":[{"name":"EPSS percentile","points":13.19},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"net/http","versions":["< 1.21.8",">= 1.22.0-0, < 1.22.1"]},{"vendor":"Go standard library","product":"net/http/cookiejar","versions":["< 1.21.8",">= 1.22.0-0, < 1.22.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-03-06T16:34:47.460894Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.21.8",">=1.22.0-0, <1.22.1"],"patched":["1.21.8","1.22.1"],"from":["GO-2024-2600"],"provenance":"source"}],"summary":{"text":"The net/http package in the Go standard library mishandles redirects so that when an http.Client follows a redirect to a domain that is neither an exact nor subdomain match of the original, sensitive headers such as Authorization and Cookie can still be forwarded to that destination. An attacker who can make a crafted HTTP redirect be followed by the client can cause those sensitive headers to be sent to a domain they control, and exploiting this requires only low-privilege access to the network-facing request path with no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:29:52Z"},"euvd":{"id":"EUVD-2023-49588","exploited":false,"provenance":"source"}}