CVE-2023-45289
Incorrect forwarding of sensitive headers and cookies on HTTP redirect in net/http
Reported by go · Published March 5, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| vite | Wolfi | 5.2.2-r0 |
| cluster-autoscaler-fips-1.25 | Chainguard | 1.25.3-r5 |
| gitlab-rails-ee-fips-17.1 | Chainguard | 17.1.3-r0 |
| nri-redis | Wolfi | 1.11.4-r1 |
| nri-discovery-kubernetes | Wolfi | 1.7.2-r3 |
| tigera-operator-1.33 | Chainguard | 1.33.0-r1 |
| esbuild | Chainguard | 0.20.1-r1 |
| http-echo | Wolfi | 1.0.0-r4 |
| k3d | Chainguard | 5.6.0-r7 |
| kind | Wolfi | 0.22.0-r2 |
| q | Wolfi | 0.19.2-r1 |
| wazero | Wolfi | 1.6.0-r1 |
88 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Go standard library | net/http | 0, 1.22.0-0 |
| Go standard library | net/http/cookiejar | 0, 1.22.0-0 |
| wolfi | vite | 0 |
| chainguard | cluster-autoscaler-fips-1.25 | 0 |
| chainguard | gitlab-rails-ee-fips-17.1 | 0 |
| wolfi | nri-redis | 0 |
| wolfi | nri-discovery-kubernetes | 0 |
| chainguard | tigera-operator-1.33 | 0 |
| chainguard | esbuild | 0 |
| wolfi | http-echo | 0 |
| chainguard | k3d | 0 |
| wolfi | kind | 0 |
| wolfi | q | 0 |
| wolfi | wazero | 0 |
| chainguard | wavefront-collector-for-kubernetes-1.13 | 0 |
| wolfi | kubevela | 0 |
| wolfi | terraform-docs | 0 |
| chainguard | argo-cd-fips-2.9 | 0 |
| chainguard | prometheus-adapter-fips | 0 |
| chainguard | kubernetes-dashboard | 0 |
…and 705 more
Timeline
- Feb 29, 2024 CVE Published
- Mar 6, 2024 EPSS Score (30 in total, the first dated here)
- Jun 2, 2026 Security Advisory (180 in total, the first dated here)
- Aug 2, 2026 Coalition ESS Score
- Aug 10, 2026 Distribution Patch (173 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-45289
vulnetix vdb fixes CVE-2023-45289
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-45289/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart