Medium severity · published Jan 28, 2025
CVE-2024-45336
Sensitive headers incorrectly sent after cross-domain redirect in net/http
6.1
CVSS
0.7%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 54% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
NE
net/http · Go standard library
before 1.22.11; 1.23.0-0 before 1.23.5; 1.24.0-0 before 1.24.0-rc.2 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-45336
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-45336
go.dev
https://go.dev/cl/643100
go.dev
https://go.dev/issue/70530
groups.google.com
https://groups.google.com/g/golang-dev/c/CAWXhan3Jww/m/bk9LAa-lCgAJ
groups.google.com
https://groups.google.com/g/golang-dev/c/bG8cv1muIBM/m/G461hA6lCgAJ
pkg.go.dev
https://pkg.go.dev/vuln/GO-2025-3420
security.netapp.com
https://security.netapp.com/advisory/ntap-20250221-0003/
More from net/http
9.6
CVE-2026-39821
Invoking failure to reject ASCII-only Punycode-encoded labels in golang.org/x/net/idna
9.1
CVE-2026-78663
Double flow control refund on HTTP/2 server streams in net/http
7.5
CVE-2026-97032
HTTP/2 server crash due to HPACK encoder race in net/http
7.5
CVE-2026-94439
HTTP/1 server connection desynchronization after 2xx CONNECT response in net/http
7.5
CVE-2026-78669
Excessive CPU consumption from repeated initial window changes in net/http
