CVEfocus › CVE database › CVE-2024-45336

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

CVSS 6.1 MediumEPSS 0.9% (higher than 56% of CVEs)Published 2025-01-28Updated 2025-09-18Assigner: Go

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.

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Go, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

72Fixed
48Fix pending
7Under investigation
75Will not fix
7Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04golang-1.23Not affected
vulnerable_code_not_present
Ubuntu 26.04golang-1.24Under investigationUBUNTU-CVE-2024-45336
Ubuntu 25.10golang-1.23Not affected
vulnerable_code_not_present
Ubuntu 25.10golang-1.24Will not fix
Packages built using golang need to be rebuilt once the vulnerability has been fixed. This CVE entry does not list packages that need rebuilding outside of…
UBUNTU-CVE-2024-45336
Ubuntu 24.04golang-1.21Under investigationUBUNTU-CVE-2024-45336
Ubuntu 24.04golang-1.22Fixed1.22.2-2ubuntu0.4UBUNTU-CVE-2024-45336
Ubuntu 24.04golang-1.23Fix pendingUBUNTU-CVE-2024-45336
Ubuntu 24.04golang-1.24Not affected
vulnerable_code_not_present
Ubuntu 22.04golang-1.13Fix pendingUBUNTU-CVE-2024-45336
Ubuntu 22.04golang-1.17Under investigationUBUNTU-CVE-2024-45336
Ubuntu 22.04golang-1.18Fix pendingUBUNTU-CVE-2024-45336
Ubuntu 22.04golang-1.20Under investigationUBUNTU-CVE-2024-45336
Ubuntu 22.04golang-1.21Under investigationUBUNTU-CVE-2024-45336
Ubuntu 22.04golang-1.22Fixed1.22.2-2~22.04.3UBUNTU-CVE-2024-45336
Ubuntu 22.04golang-1.23Under investigationUBUNTU-CVE-2024-45336
Ubuntu 22.04golang-1.24Under investigationUBUNTU-CVE-2024-45336
Ubuntu 20.04golang-1.13Will not fix
Packages built using golang need to be rebuilt once the vulnerability has been fixed. This CVE entry does not list packages that need rebuilding outside of…
UBUNTU-CVE-2024-45336
Ubuntu 20.04golang-1.14Will not fix
Packages built using golang need to be rebuilt once the vulnerability has been fixed. This CVE entry does not list packages that need rebuilding outside of…
UBUNTU-CVE-2024-45336
Ubuntu 20.04golang-1.16Fix pendingUBUNTU-CVE-2024-45336
Ubuntu 20.04golang-1.18Will not fix
Packages built using golang need to be rebuilt once the vulnerability has been fixed. This CVE entry does not list packages that need rebuilding outside of…
UBUNTU-CVE-2024-45336
Ubuntu 20.04golang-1.20Will not fix
Packages built using golang need to be rebuilt once the vulnerability has been fixed. This CVE entry does not list packages that need rebuilding outside of…
UBUNTU-CVE-2024-45336
Ubuntu 20.04golang-1.21Will not fix
Packages built using golang need to be rebuilt once the vulnerability has been fixed. This CVE entry does not list packages that need rebuilding outside of…
UBUNTU-CVE-2024-45336
Ubuntu 20.04golang-1.22Will not fix
Packages built using golang need to be rebuilt once the vulnerability has been fixed. This CVE entry does not list packages that need rebuilding outside of…
UBUNTU-CVE-2024-45336
Ubuntu 18.04golang-1.10Will not fix
Packages built using golang need to be rebuilt once the vulnerability has been fixed. This CVE entry does not list packages that need rebuilding outside of…
UBUNTU-CVE-2024-45336
Ubuntu 18.04golang-1.13Fix pendingUBUNTU-CVE-2024-45336
Ubuntu 18.04golang-1.16Fix pendingUBUNTU-CVE-2024-45336
Ubuntu 18.04golang-1.18Fix pendingUBUNTU-CVE-2024-45336
Ubuntu 18.04golang-1.8Will not fix
Packages built using golang need to be rebuilt once the vulnerability has been fixed. This CVE entry does not list packages that need rebuilding outside of…
UBUNTU-CVE-2024-45336
Ubuntu 18.04golang-1.9Will not fix
Packages built using golang need to be rebuilt once the vulnerability has been fixed. This CVE entry does not list packages that need rebuilding outside of…
UBUNTU-CVE-2024-45336
Ubuntu 16.04golang-1.10Will not fix
Packages built using golang need to be rebuilt once the vulnerability has been fixed. This CVE entry does not list packages that need rebuilding outside of…
UBUNTU-CVE-2024-45336
Ubuntu 16.04golang-1.13Will not fix
Packages built using golang need to be rebuilt once the vulnerability has been fixed. This CVE entry does not list packages that need rebuilding outside of…
UBUNTU-CVE-2024-45336
Ubuntu 16.04golang-1.18Fix pendingUBUNTU-CVE-2024-45336
Ubuntu 16.04golang-1.6Will not fix
Packages built using golang need to be rebuilt once the vulnerability has been fixed. This CVE entry does not list packages that need rebuilding outside of…
UBUNTU-CVE-2024-45336
Ubuntu 14.04golangWill not fix
Packages built using golang need to be rebuilt once the vulnerability has been fixed. This CVE entry does not list packages that need rebuilding outside of…
Ubuntu 14.04golang-1.10Will not fix
Packages built using golang need to be rebuilt once the vulnerability has been fixed. This CVE entry does not list packages that need rebuilding outside of…
UBUNTU-CVE-2024-45336
Ubuntu 14.04golang-1.6Will not fix
Packages built using golang need to be rebuilt once the vulnerability has been fixed. This CVE entry does not list packages that need rebuilding outside of…
Debian 13golang-1.24Fixed1.24~rc2-1DEBIAN-CVE-2024-45336
Debian 12golang-1.19Fix pendingDEBIAN-CVE-2024-45336
Red Hat Enterprise Linux 10aardvark-dnsWill not fix
Will not fix
Red Hat Enterprise Linux 10buildahWill not fix
Will not fix
Red Hat Enterprise Linux 10buildah-testsWill not fix
Will not fix
Red Hat Enterprise Linux 10butaneWill not fix
Will not fix
Red Hat Enterprise Linux 10containers-commonWill not fix
Will not fix
Red Hat Enterprise Linux 10containers-common-extraWill not fix
Will not fix
Red Hat Enterprise Linux 10delveFixed0:1.24.1-1.el10_0RHSA-2025:7466
Red Hat Enterprise Linux 10git-lfsWill not fix
Will not fix
Red Hat Enterprise Linux 10go-toolsetFixed0:1.23.7-1.el10_0RHSA-2025:7466
Red Hat Enterprise Linux 10golangFixed0:1.23.7-1.el10_0RHSA-2025:7466
Red Hat Enterprise Linux 10golang-binFixed0:1.23.7-1.el10_0RHSA-2025:7466
Red Hat Enterprise Linux 10golang-docsFixed0:1.23.7-1.el10_0RHSA-2025:7466
Red Hat Enterprise Linux 10golang-github-openprinting-ipp-usbFix pending
Affected
Red Hat Enterprise Linux 10golang-miscFixed0:1.23.7-1.el10_0RHSA-2025:7466
Red Hat Enterprise Linux 10golang-srcFixed0:1.23.7-1.el10_0RHSA-2025:7466
Red Hat Enterprise Linux 10golang-testsFixed0:1.23.7-1.el10_0RHSA-2025:7466
Red Hat Enterprise Linux 10grafanaWill not fix
Will not fix
Red Hat Enterprise Linux 10grafana-pcpWill not fix
Will not fix
Red Hat Enterprise Linux 10grafana-selinuxWill not fix
Will not fix
Red Hat Enterprise Linux 10gvisor-tap-vsockWill not fix
Will not fix
Red Hat Enterprise Linux 10gvisor-tap-vsock-gvforwarderWill not fix
Will not fix
Red Hat Enterprise Linux 10ignitionWill not fix
Will not fix
Red Hat Enterprise Linux 10ignition-edgeWill not fix
Will not fix
Red Hat Enterprise Linux 10ignition-grubWill not fix
Will not fix
Red Hat Enterprise Linux 10ignition-validateWill not fix
Will not fix
Red Hat Enterprise Linux 10ipp-usbFix pending
Affected
Red Hat Enterprise Linux 10netavarkWill not fix
Will not fix
Red Hat Enterprise Linux 10osbuild-composerWill not fix
Will not fix
Red Hat Enterprise Linux 10osbuild-composer-coreWill not fix
Will not fix
Red Hat Enterprise Linux 10osbuild-composer-workerWill not fix
Will not fix
Red Hat Enterprise Linux 10podmanWill not fix
Will not fix
Red Hat Enterprise Linux 10podman-dockerWill not fix
Will not fix
Red Hat Enterprise Linux 10podman-remoteWill not fix
Will not fix
Red Hat Enterprise Linux 10podman-testsWill not fix
Will not fix
Red Hat Enterprise Linux 10rhcFixed1:0.3.2-1.el10_0RHSA-2025:9514
Red Hat Enterprise Linux 10skopeoWill not fix
Will not fix
Red Hat Enterprise Linux 10skopeo-testsWill not fix
Will not fix
Red Hat Enterprise Linux 10toolboxFix pending
Fix deferred
Red Hat Enterprise Linux 10toolbox-testsFix pending
Fix deferred
Red Hat Enterprise Linux 10yggdrasilFixed0:0.4.5-3.el10_0RHSA-2025:7592
Red Hat Enterprise Linux 10yggdrasil-develFixed0:0.4.5-3.el10_0RHSA-2025:7592
Red Hat Enterprise Linux 9buildahWill not fix
Will not fix
Red Hat Enterprise Linux 9buildah-testsWill not fix
Will not fix
Red Hat Enterprise Linux 9butaneWill not fix
Will not fix
Red Hat Enterprise Linux 9conmonNot affected
Red Hat Enterprise Linux 9containernetworking-pluginsWill not fix
Will not fix
Red Hat Enterprise Linux 9delveFixed0:1.24.1-2.el9_5RHSA-2025:3773
Red Hat Enterprise Linux 9git-lfsWill not fix
Will not fix
Red Hat Enterprise Linux 9go-toolsetFixed0:1.23.6-2.el9_5RHSA-2025:3773
Red Hat Enterprise Linux 9golangFixed0:1.23.6-2.el9_5RHSA-2025:3773
Red Hat Enterprise Linux 9golang-binFixed0:1.23.6-2.el9_5RHSA-2025:3773
Red Hat Enterprise Linux 9golang-docsFixed0:1.23.6-2.el9_5RHSA-2025:3773
Red Hat Enterprise Linux 9golang-miscFixed0:1.23.6-2.el9_5RHSA-2025:3773
Red Hat Enterprise Linux 9golang-raceFixed0:1.23.6-2.el9_5RHSA-2025:3773
Red Hat Enterprise Linux 9golang-srcFixed0:1.23.6-2.el9_5RHSA-2025:3773
Red Hat Enterprise Linux 9golang-testsFixed0:1.23.6-2.el9_5RHSA-2025:3773
Red Hat Enterprise Linux 9grafanaWill not fix
Will not fix
Red Hat Enterprise Linux 9grafana-pcpWill not fix
Will not fix
Red Hat Enterprise Linux 9grafana-selinuxWill not fix
Will not fix
Red Hat Enterprise Linux 9gvisor-tap-vsockWill not fix
Will not fix
Red Hat Enterprise Linux 9gvisor-tap-vsock-gvforwarderWill not fix
Will not fix
Red Hat Enterprise Linux 9ignitionWill not fix
Will not fix
Red Hat Enterprise Linux 9ignition-edgeWill not fix
Will not fix
Red Hat Enterprise Linux 9ignition-grubWill not fix
Will not fix
Red Hat Enterprise Linux 9ignition-validateWill not fix
Will not fix
Red Hat Enterprise Linux 9opentelemetry-collectorFixed0:0.107.0-8.el9_5RHSA-2025:3335
Red Hat Enterprise Linux 9osbuild-composerWill not fix
Will not fix
Red Hat Enterprise Linux 9osbuild-composer-coreWill not fix
Will not fix
Red Hat Enterprise Linux 9osbuild-composer-dnf-jsonWill not fix
Will not fix
Red Hat Enterprise Linux 9osbuild-composer-workerWill not fix
Will not fix
Red Hat Enterprise Linux 9podmanWill not fix
Will not fix
Red Hat Enterprise Linux 9podman-catatonitWill not fix
Will not fix
Red Hat Enterprise Linux 9podman-dockerWill not fix
Will not fix
Red Hat Enterprise Linux 9podman-gvproxyWill not fix
Will not fix
Red Hat Enterprise Linux 9podman-pluginsWill not fix
Will not fix
Red Hat Enterprise Linux 9podman-remoteWill not fix
Will not fix
Red Hat Enterprise Linux 9podman-testsWill not fix
Will not fix
Red Hat Enterprise Linux 9rhcFixed1:0.2.6-3.el9_6RHSA-2025:7326
Red Hat Enterprise Linux 9rhc-develFixed1:0.2.6-3.el9_6RHSA-2025:7326
Red Hat Enterprise Linux 9skopeoWill not fix
Will not fix
Red Hat Enterprise Linux 9skopeo-testsWill not fix
Will not fix
Red Hat Enterprise Linux 9toolboxFix pending
Fix deferred
Red Hat Enterprise Linux 9toolbox-testsFix pending
Fix deferred
Red Hat Enterprise Linux 9weldr-clientWill not fix
Will not fix
Red Hat Enterprise Linux 8buildahFix pending
Affected
Red Hat Enterprise Linux 8buildah-testsFix pending
Affected
Red Hat Enterprise Linux 8conmonFix pending
Affected
Red Hat Enterprise Linux 8containernetworking-pluginsFix pending
Affected
Red Hat Enterprise Linux 8containers-commonFix pending
Affected
Red Hat Enterprise Linux 8delveFixed
Fix deferred
0:1.24.1-1.module+el8.10.0+22945+b2c96a17RHSA-2025:3772
Red Hat Enterprise Linux 8git-lfsFix pending
Affected
Red Hat Enterprise Linux 8go-toolsetFixed
Affected
0:1.23.6-1.module+el8.10.0+22945+b2c96a17RHSA-2025:3772
Red Hat Enterprise Linux 8golangFixed
Affected
0:1.23.6-1.module+el8.10.0+22945+b2c96a17RHSA-2025:3772
Red Hat Enterprise Linux 8golang-binFixed
Affected
0:1.23.6-1.module+el8.10.0+22945+b2c96a17RHSA-2025:3772
Red Hat Enterprise Linux 8golang-docsFixed
Affected
0:1.23.6-1.module+el8.10.0+22945+b2c96a17RHSA-2025:3772
Red Hat Enterprise Linux 8golang-miscFixed
Affected
0:1.23.6-1.module+el8.10.0+22945+b2c96a17RHSA-2025:3772
Red Hat Enterprise Linux 8golang-raceFix pending
Affected
Red Hat Enterprise Linux 8golang-srcFixed
Affected
0:1.23.6-1.module+el8.10.0+22945+b2c96a17RHSA-2025:3772
Red Hat Enterprise Linux 8golang-testsFixed
Affected
0:1.23.6-1.module+el8.10.0+22945+b2c96a17RHSA-2025:3772
Red Hat Enterprise Linux 8grafanaFix pending
Affected
Red Hat Enterprise Linux 8grafana-azure-monitorFix pending
Affected
Red Hat Enterprise Linux 8grafana-cloudwatchFix pending
Affected
Red Hat Enterprise Linux 8grafana-elasticsearchFix pending
Affected
Red Hat Enterprise Linux 8grafana-graphiteFix pending
Affected
Red Hat Enterprise Linux 8grafana-influxdbFix pending
Affected
Red Hat Enterprise Linux 8grafana-lokiFix pending
Affected
Red Hat Enterprise Linux 8grafana-mssqlFix pending
Affected
Red Hat Enterprise Linux 8grafana-mysqlFix pending
Affected
Red Hat Enterprise Linux 8grafana-opentsdbFix pending
Affected
Red Hat Enterprise Linux 8grafana-pcpFix pending
Affected
Red Hat Enterprise Linux 8grafana-postgresFix pending
Affected
Red Hat Enterprise Linux 8grafana-prometheusFix pending
Affected
Red Hat Enterprise Linux 8grafana-selinuxFix pending
Affected
Red Hat Enterprise Linux 8grafana-stackdriverFix pending
Affected
Red Hat Enterprise Linux 8osbuild-composerFixed0:101.5-2.el8_10RHSA-2026:66016
Red Hat Enterprise Linux 8osbuild-composer-coreFixed0:101.5-2.el8_10RHSA-2026:66016
Red Hat Enterprise Linux 8osbuild-composer-workerFixed0:101.5-2.el8_10RHSA-2026:66016
Red Hat Enterprise Linux 8podmanFix pending
Affected
Red Hat Enterprise Linux 8podman-catatonitFix pending
Affected
Red Hat Enterprise Linux 8podman-dockerFix pending
Affected
Red Hat Enterprise Linux 8podman-gvproxyFix pending
Affected
Red Hat Enterprise Linux 8podman-manpagesFix pending
Affected
Red Hat Enterprise Linux 8podman-pluginsFix pending
Affected
Red Hat Enterprise Linux 8podman-remoteFix pending
Affected
Red Hat Enterprise Linux 8podman-testsFix pending
Affected
Red Hat Enterprise Linux 8rhcFix pending
Affected
Red Hat Enterprise Linux 8skopeoFix pending
Affected
Red Hat Enterprise Linux 8skopeo-testsFix pending
Affected
Red Hat Enterprise Linux 8toolboxNot affected
Red Hat Enterprise Linux 8toolbox-testsNot affected
Red Hat Enterprise Linux 8weldr-clientNot affected
Red Hat Enterprise Linux 7host-meteringWill not fix
Will not fix
Red Hat Enterprise Linux 7host-metering-selinuxWill not fix
Will not fix
Red Hat Enterprise Linux 7rhcWill not fix
Will not fix
Red Hat Enterprise Linux 7rhc-worker-scriptWill not fix
Will not fix
Red Hat Enterprise Linux 7skopeoWill not fix
Will not fix
AlmaLinux 10delveFixed1.24.1-1.el10_0ALSA-2025:7466
AlmaLinux 10go-toolsetFixed1.23.7-1.el10_0.alma.1ALSA-2025:7466
AlmaLinux 10golangFixed1.23.7-1.el10_0.alma.1ALSA-2025:7466
AlmaLinux 10golang-binFixed1.23.7-1.el10_0.alma.1ALSA-2025:7466
AlmaLinux 10golang-docsFixed1.23.7-1.el10_0.alma.1ALSA-2025:7466
AlmaLinux 10golang-miscFixed1.23.7-1.el10_0.alma.1ALSA-2025:7466
AlmaLinux 10golang-srcFixed1.23.7-1.el10_0.alma.1ALSA-2025:7466
AlmaLinux 10golang-testsFixed1.23.7-1.el10_0.alma.1ALSA-2025:7466
AlmaLinux 10yggdrasilFixed0.4.5-3.el10_0ALSA-2025:7592
AlmaLinux 10yggdrasil-develFixed0.4.5-3.el10_0ALSA-2025:7592
AlmaLinux 8delveFixed1.24.1-1.module_el8.10.0+3977+66935a26ALSA-2025:3772
AlmaLinux 8go-toolsetFixed1.23.6-1.module_el8.10.0+3977+66935a26ALSA-2025:3772
AlmaLinux 8golangFixed1.23.6-1.module_el8.10.0+3977+66935a26ALSA-2025:3772
AlmaLinux 8golang-binFixed1.23.6-1.module_el8.10.0+3977+66935a26ALSA-2025:3772
AlmaLinux 8golang-docsFixed1.23.6-1.module_el8.10.0+3977+66935a26ALSA-2025:3772
AlmaLinux 8golang-miscFixed1.23.6-1.module_el8.10.0+3977+66935a26ALSA-2025:3772
AlmaLinux 8golang-srcFixed1.23.6-1.module_el8.10.0+3977+66935a26ALSA-2025:3772
AlmaLinux 8golang-testsFixed1.23.6-1.module_el8.10.0+3977+66935a26ALSA-2025:3772
AlmaLinux 8osbuild-composerFixed101.5-2.el8_10.alma.1ALSA-2026:66016
AlmaLinux 8osbuild-composer-coreFixed101.5-2.el8_10.alma.1ALSA-2026:66016
AlmaLinux 8osbuild-composer-workerFixed101.5-2.el8_10.alma.1ALSA-2026:66016
Rocky Linux 10delveFixed0:1.24.1-1.el10_0RLSA-2025:7466
Rocky Linux 10golangFixed0:1.23.7-1.el10_0RLSA-2025:7466
Rocky Linux 10yggdrasilFixed0:0.4.5-3.el10_0RLSA-2025:7592
Rocky Linux 9delveFixed0:1.24.1-2.el9_6RLSA-2025:3773
Rocky Linux 9golangFixed0:1.23.6-2.el9_6RLSA-2025:3773
Rocky Linux 8delveFixed0:1.24.1-1.module+el8.10.0+1987+42f155bbRLSA-2025:3772
Rocky Linux 8go-toolsetFixed0:1.23.6-1.module+el8.10.0+1951+c74bd827RLSA-2025:3772
Rocky Linux 8golangFixed0:1.23.6-1.module+el8.10.0+1951+c74bd827RLSA-2025:3772
Rocky Linux 8osbuild-composerFixed0:101.5-2.el8_10.rocky.0.6RLSA-2026:66016
Alpine Linux 3.24goFixed1.23.5-r0ALPINE-CVE-2024-45336
Alpine Linux 3.23goFixed1.23.5-r0ALPINE-CVE-2024-45336
Alpine Linux 3.22goFixed1.23.5-r0ALPINE-CVE-2024-45336
Alpine Linux 3.21goFixed1.23.5-r0ALPINE-CVE-2024-45336
Go librarystdlibFixed1.22.11GO-2025-3420

What the vendor says

As published in the CVE record by Go, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.