CVE-2023-45289
Incorrect forwarding of sensitive headers and cookies on HTTP redirect in net/http
- Published
- Updated
- Reserved
- Assigned by
- Go
Description
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.
Timeline
ID reserved
By Go
- 5 months later
· 5 months later
Published
- 12 months later
· 12 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVDNVD · Deferred | 3.1 | Medium4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
- EPSS (exploitation in 30 days)
- 1.1% · top 35% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.3.
Weakness
- CWE-212: Improper Removal of Sensitive Information Before Storage or Transfer
Affected products
Go standard library · net/http
- affected < 1.21.8
- affected 1.22.0-0 – < 1.22.1
Go standard library · net/http/cookiejar
- affected < 1.21.8
- affected 1.22.0-0 – < 1.22.1
References (6)
- https://go.dev/issue/65065 (opens in a new tab)x_transferred
- https://go.dev/cl/569340 (opens in a new tab)x_transferred
- https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg (opens in a new tab)x_transferred
- https://pkg.go.dev/vuln/GO-2024-2600 (opens in a new tab)x_transferred
- https://security.netapp.com/advisory/ntap-20240329-0006/ (opens in a new tab)x_transferred
- http://www.openwall.com/lists/oss-security/2024/03/08/4 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2023-45289)Record last updated .