Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2023-45289
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 29 Oct 2026, 13:22 UTC · Revision 1
Source evidence
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.
osv:CVE-2023-45289
Complete source record
{
"id": "b3d9828025a5ed858eab1a2799e1a7788b851e9d0c4794d2654c9381210d91c6",
"url": "https://osv.dev/vulnerability/CVE-2023-45289",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2023-45289",
"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.",
"evidence": "osv:CVE-2023-45289",
"products": [],
"severity": "unknown",
"structured": {
"id": "CVE-2023-45289",
"aliases": [
"BIT-golang-2023-45289",
"CVE-2023-45289",
"GO-2024-2600"
],
"affected": [],
"modified": "2026-10-10T11:47:18.072110136Z",
"provider": "osv",
"references": [
"https://security.netapp.com/advisory/ntap-20240329-0006/",
"https://go.dev/cl/569340",
"https://go.dev/issue/65065",
"https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg",
"https://pkg.go.dev/vuln/GO-2024-2600"
]
},
"related_cves": [
{
"value": "CVE-2023-45289",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 249401,
"published_at": "2024-03-05T23:15:07+00:00"
}