Sensitive information sent insecurely In stdlib
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.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Package | Affected version | Patched versions |
|---|---|---|---|
go | 1.21.8 | ||
debian 11 | - | ||
debian 12 | - | ||
rpm rhel8 | 0:1.21.9-1.module+el8.10.0+21671+b35c3b78 | ||
rpm rhel9 | 0:3.4.1-2.el9_4 | ||
rpm rhel8 | - | - | |
rpm rhel8 | 0:3.4.1-2.el8_10 | ||
rpm rhel9 | 0:1.21.9-2.el9_4 | ||
rpm rhel9 | - | - | |
rpm rhel8 | - | - |
1-10 of 11
10
Aliases
1. 2. 3. 4. 5. 6. 7.
References
1. 2. 3.