{"id":"CVE-2024-45336","sourceIdentifier":"security@golang.org","published":"2025-01-28T02:15:28.807","lastModified":"2026-06-17T07:54:03.217","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"The HTTP client drops sensitive headers after following a cross-domain redirect. For example, a request to a.com/ containing an Authorization header which is redirected to b.com/ will not send that header to b.com. In the event that the client received a subsequent same-domain redirect, however, the sensitive headers would be restored. For example, a chain of redirects from a.com/, to b.com/1, and finally to b.com/2 would incorrectly send the Authorization header to b.com/2."},{"lang":"es","value":"El cliente HTTP descarta los encabezados confidenciales después de seguir una redirección entre dominios. Por ejemplo, una solicitud a a.com/ que contiene un encabezado de autorización que se redirige a b.com/ no enviará ese encabezado a b.com. Sin embargo, en el caso de que el cliente reciba una redirección posterior al mismo dominio, los encabezados confidenciales se restaurarán. Por ejemplo, una cadena de redirecciones desde a.com/, a b.com/1 y, finalmente, a b.com/2 enviaría incorrectamente el encabezado de autorización a b.com/2."}],"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":"Client.do"},{"name":"Client.makeHeadersCopier"},{"name":"shouldCopyHeaderOnRedirect"},{"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.22.11","versionType":"semver","status":"affected"},{"version":"1.23.0-0","lessThan":"1.23.5","versionType":"semver","status":"affected"},{"version":"1.24.0-0","lessThan":"1.24.0-rc.2","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:N/UI:R/S:C/C:L/I:L/A:N","baseScore":6.1,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":2.7}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-01-28T14:56:59.058895Z","id":"CVE-2024-45336","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"references":[{"url":"https://go.dev/cl/643100","source":"security@golang.org"},{"url":"https://go.dev/issue/70530","source":"security@golang.org"},{"url":"https://groups.google.com/g/golang-dev/c/CAWXhan3Jww/m/bk9LAa-lCgAJ","source":"security@golang.org"},{"url":"https://groups.google.com/g/golang-dev/c/bG8cv1muIBM/m/G461hA6lCgAJ","source":"security@golang.org"},{"url":"https://pkg.go.dev/vuln/GO-2025-3420","source":"security@golang.org"},{"url":"https://security.netapp.com/advisory/ntap-20250221-0003/","source":"af854a3a-2127-422b-91ae-364da2661108"}]}