CVE-2024-45336: Sensitive headers incorrectly sent after cross-domain redirect in net/http
Sensitive headers incorrectly sent after cross-domain redirect in net/http
Other sources
The HTTP client drops sensitive headers after following a cross-domain redirect. For example, a request to a.com/ containing an Authorization header which is redirected to b.com/ will not send that header to b.com.
In the event that the client received a subsequent same-domain redirect, however, the sensitive headers would be restored. For example, a chain of redirects from a.com/, to b.com/1, and finally to b.com/2 would incorrectly send the Authorization header to b.com/2.
— Red Hat
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-45336?
CVE-2024-45336 is considered a high-severity vulnerability due to the potential exposure of sensitive headers.
How does CVE-2024-45336 affect the HTTP client?
CVE-2024-45336 affects the HTTP client by dropping sensitive headers such as Authorization when following cross-domain redirects.
What software is impacted by CVE-2024-45336?
CVE-2024-45336 impacts the Google net/http library.
What is the recommended mitigation for CVE-2024-45336?
The recommended mitigation for CVE-2024-45336 is to avoid relying on sensitive headers during cross-domain redirects.
When was CVE-2024-45336 disclosed?
CVE-2024-45336 was disclosed in October 2024.