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.
Published · last modified .
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.
EPSS exploit prediction
EPSS 0.011, 65.7th percentile (last changed ); unchanged over 30 days. About EPSS.
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 exploits and proof-of-concept code
Also mentioned in 4 other repositories (8-cm/kube-dump, drewtwitchell/scancompare, h4ckm1n-dev/report-test, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.