Vulnerability in Go Standard Library Net/http
CVE-2023-45289
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.
EPSS: 0.011 (61.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
Affected products
- Go Standard Library Net/http — versions 0, 1.22.0-0
- Go Standard Library Net/http/cookiejar — versions 0, 1.22.0-0
Public proof-of-concept exploits
References
Frequently asked questions
- What is CVE-2023-45289?
- CVE-2023-45289 is a medium-severity vulnerability in Go Standard Library Net/http, classified under CWE-212: IMPROPER REMOVAL OF SENSITIVE INFORMATION BEFORE STORAGE OR TRANSFER. CVSS score: 4.3/10. Published 2024-03-05.
- How severe is CVE-2023-45289?
- Medium severity. CVSS v3 base score is 4.3 out of 10.
- Is CVE-2023-45289 known to be exploited?
- 4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.