CVE-2024-45336: Sensitive headers incorrectly sent after cross-domain redirect in net/http

Published Jan 23, 2025
·
Updated

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

18 affected componentsFixes available
Google net/http
IBM Business Automation Insights<=25.0.0
IBM Business Automation Insights<=24.0.1
IBM Business Automation Insights<=24.0.0
Microsoft cbl2 golang 1.18.8-8
Microsoft cbl2 msft-golang 1.24.9-1
Microsoft cbl2 msft-golang 1.24.8-1
Microsoft cbl2 msft-golang 1.24.11-1
Microsoft cbl2 golang 1.18.8-9
Microsoft cbl2 msft-golang 1.24.5-1
Microsoft cbl2 golang 1.18.8-10
Microsoft cbl2 golang 1.22.7-3
Microsoft cbl2 golang 1.22.7-3
Microsoft azl3 golang 1.23.9-1
Microsoft cbl2 msft-golang 1.23.3-2
Microsoft azl3 golang 1.23.7-1
Microsoft cbl2 golang 1.22.7-2
Microsoft cbl2 msft-golang 1.24.13-1

Event History

Jan 23, 2025
Data Sourced
via Red Hat·01:09 PM
DescriptionSeverityAffected Software
Jan 28, 2025
CVE Published
via MITRE·01:03 AM
Data Sourced
via MITRE·01:03 AM
DescriptionWeakness
Data Sourced
via NVD·02:15 AM
DescriptionSeverity
Feb 13, 2025
Data Sourced
via Microsoft·12:00 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·12:00 AM
SeverityAffected Software
Updated
via Microsoft·12:00 AM
Affected Software
Updated
via Microsoft·08:00 AM
DescriptionSeverity
Updated
via Microsoft·08:00 AM
SeverityAffected Software
Updated
via Microsoft·08:00 AM
Affected Software
Nov 3, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

What software is impacted by CVE-2024-45336?

CVE-2024-45336 impacts the Google net/http library.

4

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.

5

When was CVE-2024-45336 disclosed?

CVE-2024-45336 was disclosed in October 2024.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By 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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203