{"id":"GO-2025-3420","revision":"7be66cbf2d3948cca0c3d5ff52d09af5","records":[{"revision":"7be66cbf2d3948cca0c3d5ff52d09af5","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2025-3420","aliases":["BIT-golang-2024-45336","CVE-2024-45336"],"title":"Sensitive headers incorrectly sent after cross-domain redirect in net/http","description":"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.\n\nIn 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.","state":0,"publishedAt":"2025-01-28T00:47:30+00:00","modifiedAt":"2026-02-17T16:13:53.083304+00:00","affected":[{"ecosystem":"Go","name":"stdlib","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.22.11"},{"kind":"introduced","version":"1.23.0-0"},{"kind":"fixed","version":"1.23.5"},{"kind":"introduced","version":"1.24.0-0"},{"kind":"fixed","version":"1.24.0-rc.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://go.dev/cl/643100","https://go.dev/issue/70530","https://groups.google.com/g/golang-dev/c/CAWXhan3Jww/m/bk9LAa-lCgAJ","https://groups.google.com/g/golang-dev/c/bG8cv1muIBM/m/G461hA6lCgAJ"],"sourceUrl":"https://osv.dev/vulnerability/GO-2025-3420","license":"OSV · upstream source license applies","key":"osv:GO-2025-3420","identifiers":["GO-2025-3420","BIT-golang-2024-45336","CVE-2024-45336"]},"retained":false,"historicalAffected":[]}],"coverage":[]}