CVE-2023-45289
Incorrect forwarding of sensitive headers and cookies on HTTP redirect in net/http
4.3
MEDIUM
CVSS 3.1
EPSS 0.61%
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.
How to fix CVE-2023-45289
To remediate CVE-2023-45289, upgrade the affected package to a fixed version below.
- —upgrade to 1.21.8 or later
- —no fix listed
- —no fix listed
- —upgrade to 1.21.8 or later
Is CVE-2023-45289 being exploited?
Low — EPSS is 0.6%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 1.21.8, >= 1.22.0-0, < 1.22.1
- from 0
- from 0
- from 0, < 1.21.8, >= 1.22.0-0, < 1.22.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |