{"id":"CVE-2023-45289","sourceIdentifier":"security@golang.org","published":"2024-03-05T23:15:07.137","lastModified":"2026-06-17T06:28:35.857","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"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."}],"affected":[{"source":"security@golang.org","affectedData":[{"vendor":"Go standard library","product":"net/http","defaultStatus":"unaffected","collectionURL":"https://pkg.go.dev","packageName":"net/http","programRoutines":[{"name":"isDomainOrSubdomain"},{"name":"Client.Do"},{"name":"Client.Get"},{"name":"Client.Head"},{"name":"Client.Post"},{"name":"Client.PostForm"},{"name":"Get"},{"name":"Head"},{"name":"Post"},{"name":"PostForm"}],"versions":[{"version":"0","lessThan":"1.21.8","versionType":"semver","status":"affected"},{"version":"1.22.0-0","lessThan":"1.22.1","versionType":"semver","status":"affected"}]},{"vendor":"Go standard library","product":"net/http/cookiejar","defaultStatus":"unaffected","collectionURL":"https://pkg.go.dev","packageName":"net/http/cookiejar","programRoutines":[{"name":"isIP"},{"name":"Jar.Cookies"},{"name":"Jar.SetCookies"}],"versions":[{"version":"0","lessThan":"1.21.8","versionType":"semver","status":"affected"},{"version":"1.22.0-0","lessThan":"1.22.1","versionType":"semver","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","baseScore":4.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":1.4}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2024-03-06T16:34:47.460894Z","id":"CVE-2023-45289","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"references":[{"url":"http://www.openwall.com/lists/oss-security/2024/03/08/4","source":"security@golang.org"},{"url":"https://go.dev/cl/569340","source":"security@golang.org"},{"url":"https://go.dev/issue/65065","source":"security@golang.org"},{"url":"https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg","source":"security@golang.org"},{"url":"https://pkg.go.dev/vuln/GO-2024-2600","source":"security@golang.org"},{"url":"https://security.netapp.com/advisory/ntap-20240329-0006/","source":"security@golang.org"},{"url":"http://www.openwall.com/lists/oss-security/2024/03/08/4","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://go.dev/cl/569340","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://go.dev/issue/65065","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://pkg.go.dev/vuln/GO-2024-2600","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.netapp.com/advisory/ntap-20240329-0006/","source":"af854a3a-2127-422b-91ae-364da2661108"}]}