{"id":"CVE-2023-45289","aliases":["CVE-2023-45289","GO-2024-2600","BIT-GOLANG-2023-45289"],"related":["CGA-3j5f-rf5r-8cq9"],"kind":"vulnerability","state":"published","title":"Incorrect forwarding of sensitive headers and cookies on HTTP redirect in net/http","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Al seguir una redirección HTTP a un dominio que no es una coincidencia de subdominio o una coincidencia exacta del dominio inicial, un cliente http.no reenvía encabezados confidenciales como \"Autorización\" o \"Cookie\". Por ejemplo, una redirección de foo.com a www.foo.com reenviará el encabezado de Autorización, pero una redirección a bar.com no. Una redirección HTTP creada con fines malintencionados podría provocar que se reenvíen inesperadamente encabezados confidenciales.","source":"nvd"}],"published":"2024-03-05T22:15:02.000Z","modified":"2026-06-17T06:28:35.857Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-212"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.21.8","status":"affected"},{"type":"semver","introduced":"1.22.0-0","fixed":"1.22.1","status":"affected"}],"vendor":"Go standard library","product":"net/http","package":"net/http","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"1.21.8","status":"affected"},{"type":"semver","introduced":"1.22.0-0","fixed":"1.22.1","status":"affected"}],"vendor":"Go standard library","product":"net/http/cookiejar","package":"net/http/cookiejar","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.21.8"},{"type":"semver","introduced":"1.22.0-0","status":"affected","fixed":"1.22.1"}],"ecosystem":"Go","package":"stdlib","purl":"pkg:golang/stdlib","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.21.8"},{"type":"semver","introduced":"1.22.0-0","status":"affected","fixed":"1.22.1"}],"ecosystem":"Bitnami","package":"golang","purl":"pkg:bitnami/golang","source":"bitnami"}],"references":[{"url":"https://go.dev/issue/65065","tags":["report","web","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://go.dev/cl/569340","tags":["fix","web","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg","tags":["web","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://pkg.go.dev/vuln/GO-2024-2600","tags":["web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20240329-0006/","tags":["web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2024/03/08/4","tags":["web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45289","tags":["web"],"sources":["bitnami"]}],"credits":["Juho Nurminen of Mattermost"],"assigner":"Go","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-03-06T16:34:47.460Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-45289","url":"https://www.cve.org/CVERecord?id=CVE-2023-45289","licence":"CVE Terms of Use","modified":"2025-02-13T17:14:01.755Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2600","url":"https://pkg.go.dev/vuln/GO-2024-2600","licence":"CC-BY-4.0","modified":"2026-02-04T02:34:41.672Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-45289","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45289","licence":"Public domain","modified":"2026-06-17T06:28:35.857Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GOLANG-2023-45289","url":"https://osv.dev/vulnerability/BIT-GOLANG-2023-45289","licence":"Apache-2.0","modified":"2026-01-28T03:27:20.066Z"}],"updatedAt":"2026-11-25T22:58:33.266Z","epss":{"score":0.0108,"percentile":0.66093,"date":"2026-12-01T12:00:22.000Z"}}