Red Hat VEX
RHVEX-CVE-2023-45289
golang: net/http/cookiejar: incorrect forwarding of sensitive headers and cookies on HTTP redirect
Details
A flaw was found in Go's net/http/cookiejar standard library package. When following an HTTP redirect to a domain that is not a subdomain match or an 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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:8 | grafana | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | grafana-azure-monitor | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | grafana-cloudwatch | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | grafana-elasticsearch | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | grafana-graphite | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | grafana-influxdb | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | grafana-loki | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | grafana-mssql | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | grafana-mysql | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | grafana-opentsdb | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | grafana-postgres | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | grafana-prometheus | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | grafana-selinux | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | grafana-stackdriver | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | osbuild-composer | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | osbuild-composer-core | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | osbuild-composer-dnf-json | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | osbuild-composer-worker | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | grafana | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | grafana-selinux | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | osbuild-composer | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | osbuild-composer-core | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | osbuild-composer-dnf-json | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | osbuild-composer-worker | All versions, will not be fixed |