{"id":"BIT-golang-2023-45289","summary":"Incorrect forwarding of sensitive headers and cookies on HTTP redirect in net/http","details":"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.","aliases":["CVE-2023-45289","GO-2024-2600"],"modified":"2026-01-28T03:27:20.066136Z","published":"2024-03-12T08:24:51.862Z","database_specific":{"severity":"Medium","cpes":["cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*"]},"references":[{"type":"WEB","url":"https://go.dev/cl/569340"},{"type":"WEB","url":"https://go.dev/issue/65065"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2024-2600"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20240329-0006/"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/03/08/4"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45289"}],"affected":[{"package":{"name":"golang","ecosystem":"Bitnami","purl":"pkg:bitnami/golang"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.21.8"},{"introduced":"1.22.0-0"},{"fixed":"1.22.1"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/golang/BIT-golang-2023-45289.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"}]}],"schema_version":"1.7.3"}