
28/1/2025

21/2/2025
CVE-2024-45336: Sensitive headers incorrectly sent after cross-domain redirect in net/http
First published: Tue Jan 28 2025(Updated: )
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.
Credit: security@golang.org
Affected Software | Affected Version | How to fix |
---|
google net/http | | |
Never miss a vulnerability like this again
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
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.
- agent/weakness
- agent/title
- agent/first-publish-date
- agent/type
- agent/description
- agent/source
- agent/author
- agent/trending
- agent/severity
- agent/event
- agent/guess-ai
- agent/software-canonical-lookup
- agent/software-canonical-lookup-request
- agent/softwarecombine
- agent/tags
- collector/mitre-cve
- source/MITRE
- collector/nvd-api
- source/NVD
- agent/last-modified-date
- agent/references
- vendor/google
- canonical/google net/http
Contact
SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.coBy using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203