Skip to content

x/vulndb: potential Go vuln in net/http: CVE-2024-45336 #3420

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
tatianab opened this issue Jan 27, 2025 · 1 comment
Closed

x/vulndb: potential Go vuln in net/http: CVE-2024-45336 #3420

tatianab opened this issue Jan 27, 2025 · 1 comment

Comments

@tatianab
Copy link
Contributor

tatianab commented Jan 27, 2025

net/http: sensitive headers incorrectly sent after cross-domain redirect

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.

Thanks to Kyle Seely for reporting this issue.

This is CVE-2024-45336 and Go issue https://go.dev/issue/70530

@tatianab tatianab changed the title x/vulndb: potential Go vuln in <placeholder>: CVE-2024-45336 x/vulndb: potential Go vuln in net/http: CVE-2024-45336 Jan 27, 2025
@gopherbot
Copy link
Contributor

Change https://go.dev/cl/644855 mentions this issue: data/reports: add 5 reports

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants