CVE-2024-45336
golang: net/http: net/http: sensitive headers incorrectly sent after cross-domain redirect
Overview
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.
Source: OX vulnerability database
Severity
6.1 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected packages · 2
Operating systems · 901 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | golang | 0:1.23.7-1.azl3 |
Oracle Linux 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | go-toolset +6 | 1.23.6-1.module+el8.10.0+90545+447bd9e4 |
| 8 | delve | 1.24.1-1.0.1.module+el8.10.0+90545+447bd9e4 |
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | go | 1.26.3-1.ph5 |
Red Hat 7 releases · 32 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| heketi +4 | affected | — | |
| 7 | butane +18 | wont fix | — |
| 7 (satellite:el8) | yggdrasil-worker-forwarder | wont fix | — |
| 8 | butane +34 | affected | — |
| 8 | osbuild-composer +2 | 0:101.5-2.el8_10 | RHSA-2026:66016 |
| 8 | git-lfs | 0:2.13.3-3.el8_4.6 | RHSA-2026:95234 |
47 more rows
SUSE Linux Enterprise 4 releases · 5 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | go1-22 +2 | 1.22.11-150000.1.39.1 | SUSE-SU-2025:0281-1 |
| 15.4 | go1-22-openssl +2 | 1.22.12-150000.1.12.1 | SUSE-SU-2025:1555-1 |
| 15.4 | go1-23 +2 | 1.23.5-150000.1.18.1 | SUSE-SU-2025:0280-1 |
| 15.4 | go1-23-openssl +2 | 1.23.9-150000.1.9.1 | SUSE-SU-2025:01731-1 |
| 15.4 | go1-24 +2 | 1.24rc2-150000.1.3.1 | SUSE-SU-2025:0285-1 |
| 15.5 | go1-22 +2 | 1.22.11-150000.1.39.1 | SUSE-SU-2025:0281-1 |
9 more rows
alma 2 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | osbuild-composer +2 | 101.5-2.el8_10.alma.1 |
| 8 (go-toolset:rhel8) | go-toolset +6 | 1.23.6-1.module_el8.10.0+3977+66935a26 |
| 8 (go-toolset:rhel8) | delve | 1.24.1-1.module_el8.10.0+3977+66935a26 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | go | 1.23.5-r0 |
| 3.23 | go | 1.23.5-r0 |
| 3.24 | go | 1.23.5-r0 |
| edge | go | 1.23.5-r0 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | golang +6 | 1.24.0-1.amzn2023.0.1 |
chainguard 1 release · 481 packages
| Release | Package | Fixed in |
|---|---|---|
| go-1-20 | not affected | |
| stakater-reloader-0-0-119 | 0.0.119-r15 | |
| dagdotdev | 0.0.12-r2 | |
| stakater-reloader-0-0-128 | 0.0.128-r14 | |
| pombump | 0.0.13-r3 | |
| harbor-cli | 0.0.2-r2 |
475 more rows
debian 4 releases · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | golang-1-15 | affected |
| 12 | golang-1-19 | affected |
| 13 | golang-1-23 | affected |
| 13 | golang-1-24 | 1.24~rc2-1 |
| 14 | golang-1-24 | 1.24~rc2-1 |
echo 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| golang-1-19 | affected | |
| golang-1-23 | 1.23.5 | |
| golang-1-24 | 1.24~rc2-1 |
minimos 1 release · 14 packages
| Release | Package | Fixed in |
|---|---|---|
| solr-operator-0-8 | 0.8.1-r1 | |
| gobump | 0.9.0-r1 | |
| gosu | 1.17-r2 | |
| go-1-22 | 1.22.11-r0 | |
| go-1-23 | 1.23.5-r0 | |
| cuda-toolkit-12 | 12.9.1-r7 |
8 more rows
openSUSE 1 release · 5 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | govulncheck-vulndb | 0.0.20250128T150132-1.1 | openSUSE-SU-2025:14710-1 |
| Tumbleweed | go1-22 +3 | 1.22.11-1.1 | openSUSE-SU-2025:14694-1 |
| Tumbleweed | go1-23 +3 | 1.23.5-1.1 | openSUSE-SU-2025:14695-1 |
| Tumbleweed | go1-24 +3 | 1.24rc2-1.1 | openSUSE-SU-2025:14693-1 |
| Tumbleweed | opentofu | 1.9.1-1.1 | openSUSE-SU-2025:15030-1 |
rocky 4 releases · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | yggdrasil | 0.4.5-3.el10_0 |
| 10 | go-toolset +6 | 1.23.7-1.el10_0 |
| 10 | delve | 1.24.1-1.el10_0 |
| 8 | osbuild-composer +2 | 101.5-2.el8_10.rocky.0.6 |
| 8 (go-toolset:rhel8) | go-toolset +6 | 1.23.6-1.module+el8.10.0+1951+c74bd827 |
| 8 (go-toolset:rhel8) | delve | 1.24.1-1.module+el8.10.0+1951+c74bd827 |
2 more rows
root.io debian 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-golang-1-19 | affected |
| 13 | rootio-golang-1-24 | 1.24~rc2-1 |
ubuntu 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 20.04-ESM | golang-1-22 | affected |
| 22.04 | golang-1-18 | affected |
| 22.04 | golang-1-22 | 1.22.2-2~22.04.3 |
| 24.04 | golang-1-22 | 1.22.2-2ubuntu0.4 |
wolfi 1 release · 299 packages
| Release | Package | Fixed in |
|---|---|---|
| go-1-20 | not affected | |
| dagdotdev | 0.0.12-r2 | |
| pombump | 0.0.13-r3 | |
| harbor-cli | 0.0.2-r2 | |
| wireguard-go | 0.0.20230223-r19 | |
| nodetaint | 0.0.4-r26 |
293 more rows
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:66016
- access.redhat.com https://access.redhat.com/security/cve/CVE-2024-45336
- bugzilla.redhat.com https://bugzilla.redhat.com/2315719
- bugzilla.redhat.com https://bugzilla.redhat.com/2341751
- bugzilla.redhat.com https://bugzilla.redhat.com/2467820
- bugzilla.redhat.com https://bugzilla.redhat.com/2480756
- bugzilla.redhat.com https://bugzilla.redhat.com/2515815
- bugzilla.redhat.com https://bugzilla.redhat.com/2515820
- bugzilla.redhat.com https://bugzilla.redhat.com/2515827
- bugzilla.redhat.com https://bugzilla.redhat.com/2515838
Show all 48 references
- bugzilla.redhat.com https://bugzilla.redhat.com/2515839
- bugzilla.redhat.com https://bugzilla.redhat.com/2515840
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2315719
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2341751
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2467820
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2480756
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2515815
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2515820
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2515827
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2515838
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2515839
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2515840
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-45336
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-9355
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-33818
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-39820
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-39821
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-56853
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-56858
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-56859
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-56860
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-56862
- errata.almalinux.org https://errata.almalinux.org/8/ALSA-2026-66016.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2026:66016
- github.com https://github.com/golang/go/issues/70530
- go.dev https://go.dev/cl/643100
- go.dev https://go.dev/issue/70530
- groups.google.com https://groups.google.com/g/golang-announce/c/sSaUhLA-2SI
- 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
- linux.oracle.com https://linux.oracle.com/cve/CVE-2024-45336.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2025-7592.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-45336
- pkg.go.dev https://pkg.go.dev/vuln/GO-2025-3420
- security.netapp.com https://security.netapp.com/advisory/ntap-20250221-0003/
- ubuntu.com https://ubuntu.com/security/notices/USN-7574-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2024-45336
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.