cve.bz

CVE-2024-45336 go standard library net/http

6.1 mediumEPSS 0.7%Fix available

Medium (6.1) in go standard library net/http. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.22.11, 1.23.5, 1.24.0-rc.2.

On this page
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.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 54th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-01-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • stdlib (Go): fixed in 1.22.11, 1.23.5, 1.24.0-rc.2
  • Debian, Ubuntu, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux, Alpine, Azure Linux, Alpaquita, BellSoft Hardened Containers: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2024-45336 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-45336?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-45336?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-45336 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Go standard library net/httpbefore 1.22.11
Go standard library net/httpfrom 1.23.0-0 before 1.23.5
Go standard library net/httpfrom 1.24.0-0 before 1.24.0-rc.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2025-3420Gostdlib<1.22.11
>=1.23.0-0 <1.23.5
>=1.24.0-0 <1.24.0-rc.2
1.22.11, 1.23.5, 1.24.0-rc.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12golang-1.19no fix listedDEBIAN-CVE-2024-45336
Debian13golang-1.241.24~rc2-1DEBIAN-CVE-2024-45336
Ubuntu14.04:LTSgolang-1.10no fix listedUBUNTU-CVE-2024-45336
Ubuntu16.04:LTSgolang-1.6, golang-1.10no fix listedUBUNTU-CVE-2024-45336
Ubuntu18.04:LTSgolang-1.8, golang-1.9, golang-1.10no fix listedUBUNTU-CVE-2024-45336
Ubuntu20.04:LTSgolang-1.13, golang-1.14, golang-1.18 and 3 moreno fix listedUBUNTU-CVE-2024-45336
Ubuntu22.04:LTSgolang-1.17, golang-1.18, golang-1.20 and 3 moreno fix listedUBUNTU-CVE-2024-45336
Ubuntu22.04:LTSgolang-1.221.22.2-2~22.04.3UBUNTU-CVE-2024-45336 USN-7574-1
Ubuntu24.04:LTSgolang-1.21, golang-1.23no fix listedUBUNTU-CVE-2024-45336
Ubuntu24.04:LTSgolang-1.221.22.2-2ubuntu0.4UBUNTU-CVE-2024-45336 USN-7574-1
Ubuntu25.10, 26.04:LTSgolang-1.24no fix listedUBUNTU-CVE-2024-45336
UbuntuPro:16.04:LTSgolang-1.13, golang-1.18no fix listedUBUNTU-CVE-2024-45336
UbuntuPro:18.04:LTSgolang-1.13, golang-1.16, golang-1.18no fix listedUBUNTU-CVE-2024-45336
UbuntuPro:20.04:LTSgolang-1.16no fix listedUBUNTU-CVE-2024-45336
1 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::appstreamdelve, delve-debuginfo, delve-debugsource0:1.24.1-1.module+el8.10.0+22945+b2c96a17RHSA-2025:3772
Red Hatenterprise_linux:8::appstreamgolang, go-toolset, golang-bin and 4 more0:1.23.6-1.module+el8.10.0+22945+b2c96a17RHSA-2025:3772
Red Hatenterprise_linux:10.0rhc, rhc-debuginfo, rhc-debugsource1:0.3.2-1.el10_0RHSA-2025:9514
Red Hatenterprise_linux:10.0yggdrasil, yggdrasil-devel, yggdrasil-debuginfo and 2 more0:0.4.5-3.el10_0RHSA-2025:7592
Red Hatrhel_satellite_client:6::el8foreman_ygg_worker0:0.3.1-1.el8satRHSA-2025:7624
Red Hatrhel_satellite_client:6::el8yggdrasil0:0.2.3-3.el8satRHSA-2025:7624
Red Hatrhel_satellite_client:6::el9foreman_ygg_worker0:0.3.1-1.el9satRHSA-2025:7624
Red Hatrhel_satellite_client:6::el9yggdrasil0:0.2.3-3.el9satRHSA-2025:7624
Red Hatrhel_satellite_client:6::el10foreman_ygg_worker0:0.3.1-1.el10satRHSA-2025:7624
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 10 morego1.221.22.11-150000.1.39.1SUSE-SU-2025:0281-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 10 morego1.231.23.5-150000.1.18.1SUSE-SU-2025:0280-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 10 morego1.241.24rc2-150000.1.3.1SUSE-SU-2025:0285-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 9 morego1.22-openssl1.22.12-150000.1.12.1SUSE-SU-2025:1555-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 9 morego1.23-openssl1.23.9-150000.1.9.1SUSE-SU-2025:01731-1
SUSELinux Enterprise Module for Development Tools 15 SP6, Linux Enterprise Module for Development Tools 15 SP7go1.23-openssl1.23.12-150600.13.9.1SUSE-SU-2025:03159-1
SUSELinux Enterprise Module for Package Hub 15 SP6govulncheck-vulndb0.0.20250128T150132-150000.1.29.1SUSE-SU-2025:0297-1
SUSELinux Enterprise Module for Package Hub 15 SP6govulncheck-vulndb0.0.20250207T224745-150000.1.32.1SUSE-SU-2025:0429-1
openSUSELeap 15.6go1.221.22.11-150000.1.39.1SUSE-SU-2025:0281-1
openSUSELeap 15.6go1.231.23.5-150000.1.18.1SUSE-SU-2025:0280-1
openSUSELeap 15.6go1.23-openssl1.23.12-150600.13.9.1SUSE-SU-2025:03159-1
openSUSELeap 15.6go1.241.24rc2-150000.1.3.1SUSE-SU-2025:0285-1
openSUSELeap 15.6govulncheck-vulndb0.0.20250128T150132-150000.1.29.1SUSE-SU-2025:0297-1
openSUSELeap 15.6govulncheck-vulndb0.0.20250207T224745-150000.1.32.1SUSE-SU-2025:0429-1
openSUSETumbleweedgo1.221.22.11-1.1openSUSE-SU-2025:14694-1
openSUSETumbleweedgo1.231.23.5-1.1openSUSE-SU-2025:14695-1
openSUSETumbleweedgo1.241.24rc2-1.1openSUSE-SU-2025:14693-1
openSUSETumbleweedgovulncheck-vulndb0.0.20250128T150132-1.1openSUSE-SU-2025:14710-1
openSUSETumbleweedopentofu1.9.1-1.1openSUSE-SU-2025:15030-1
AlmaLinux8delve1.24.1-1.module_el8.10.0+3977+66935a26ALSA-2025:3772
AlmaLinux8golang, go-toolset, golang-bin and 4 more1.23.6-1.module_el8.10.0+3977+66935a26ALSA-2025:3772
AlmaLinux8osbuild-composer, osbuild-composer-core, osbuild-composer-worker101.5-2.el8_10.alma.1ALSA-2026:66016
AlmaLinux10delve1.24.1-1.el10_0ALSA-2025:7466
AlmaLinux10golang, go-toolset, golang-bin and 4 more1.23.7-1.el10_0.alma.1ALSA-2025:7466
AlmaLinux10yggdrasil, yggdrasil-devel0.4.5-3.el10_0ALSA-2025:7592
Rocky Linux8delve0:1.24.1-1.module+el8.10.0+1951+c74bd827RLSA-2025:3772
Rocky Linux8delve0:1.24.1-1.module+el8.10.0+1987+42f155bbRLSA-2025:3772
Rocky Linux8golang, go-toolset0:1.23.6-1.module+el8.10.0+1951+c74bd827RLSA-2025:3772
Rocky Linux8osbuild-composer0:101.5-2.el8_10.rocky.0.6RLSA-2026:66016
Rocky Linux9delve0:1.24.1-2.el9_6RLSA-2025:3773
Rocky Linux9golang0:1.23.6-2.el9_6RLSA-2025:3773
Rocky Linux10delve0:1.24.1-1.el10_0RLSA-2025:7466
Rocky Linux10golang0:1.23.7-1.el10_0RLSA-2025:7466
Rocky Linux10yggdrasil0:0.4.5-3.el10_0RLSA-2025:7592
Alpinev3.21, v3.22, v3.23 and 1 morego1.23.5-r0ALPINE-CVE-2024-45336
Azure Linux2golang1.22.7-2AZL-55998
Azure Linux2msft-golang1.23.3-2AZL-56058
Azure Linux3golangno fix listedAZL-78950 AZL-98790
Azure Linux3golang1.23.7-1AZL-56005
Alpaquita23go1.21.12-r3BELL-CVE-2024-45336
Alpaquitastreamgo1.23.5-r0BELL-CVE-2024-45336
BellSoft Hardened Containers23go1.21.12-r3BELL-CVE-2024-45336
BellSoft Hardened Containersstreamgo1.23.5-r0BELL-CVE-2024-45336

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Moderate impact: Red Hat products that include the affected golang net/http client are affected by a credential-disclosure flaw in HTTP redirect handling. When a client request with a sensitive header such as Authorization is redirected from one domain to another and then to a same-domain URL, the client can incorrectly restore and send that header to the final destination, potentially exposing credentials and other sensitive information. The current Red Hat scope contains affected entries across Red Hat Enterprise Linux, OpenShift Container Platform, and other Red Hat products and components; some affect records have a current NOTAFFECTED resolution, indicating those specific product/version records are not affected, but the record provides no technical justification for why. For affected entries marked DELEGATED, a fix is being pursued by the responsible product teams. For entries marked DEFER, the record does not establish a product-specific reason for deferral; the residual risk is that applications using the affected net/http client can still disclose sensitive headers through this redirect sequence. Red Hat's CVSS is 5.9 Moderate (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N), compared with CISA's 6.1 Moderate, reflecting Red Hat's higher attack-complexity and unchanged-scope assessment and confidentiality-only impact.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Advanced Cluster Management for Kubernetes 2.11 for RHEL 9rhacm2/acm-prometheus-rhel9:v2.11.7-7Fixed 2025-05-07RHSA-2025:4666
Red Hat Advanced Cluster Management for Kubernetes 2.11 for RHEL 9rhacm2/kube-rbac-proxy-rhel9:v2.11.7-7Fixed 2025-05-07RHSA-2025:4666
Red Hat Advanced Cluster Management for Kubernetes 2.11 for RHEL 9rhacm2/kube-state-metrics-rhel9:v2.11.7-7Fixed 2025-05-07RHSA-2025:4666
Red Hat Advanced Cluster Management for Kubernetes 2.11 for RHEL 9rhacm2/memcached-exporter-rhel9:v2.11.7-7Fixed 2025-05-07RHSA-2025:4666
Red Hat Advanced Cluster Management for Kubernetes 2.11 for RHEL 9rhacm2/node-exporter-rhel9:v2.11.7-7Fixed 2025-05-07RHSA-2025:4666
Red Hat Advanced Cluster Management for Kubernetes 2.11 for RHEL 9rhacm2/observatorium-rhel9:v2.11.7-10Fixed 2025-05-07RHSA-2025:4666
Red Hat Advanced Cluster Management for Kubernetes 2.11 for RHEL 9rhacm2/observatorium-rhel9-operator:v2.11.7-13Fixed 2025-05-07RHSA-2025:4666
Red Hat Advanced Cluster Management for Kubernetes 2.11 for RHEL 9rhacm2/prometheus-alertmanager-rhel9:v2.11.7-7Fixed 2025-05-07RHSA-2025:4666
Red Hat Advanced Cluster Management for Kubernetes 2.11 for RHEL 9rhacm2/prometheus-rhel9:v2.11.7-8Fixed 2025-05-07RHSA-2025:4666
Red Hat Advanced Cluster Management for Kubernetes 2.11 for RHEL 9rhacm2/submariner-addon-rhel9:v2.11.7-16Fixed 2025-05-07RHSA-2025:4666
Assisted Installer for Red Hat OpenShift Container Platform 2rhai-tech-preview/assisted-installer-agent-rhel8Affected
Assisted Installer for Red Hat OpenShift Container Platform 2rhai-tech-preview/assisted-installer-rhel8Affected
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-rhel9-operatorAffected
cert-manager Operator for Red Hat OpenShiftcert-manager/cert-manager-operator-rhel9Affected
cert-manager Operator for Red Hat OpenShiftcert-manager/jetstack-cert-manager-rhel9Affected
Cryostat 3cryostat-tech-preview/cryostat-ose-oauth-proxy-rhel8Fix deferred
Cryostat 3cryostat-tech-preview/cryostat-rhel8-operatorFix deferred
Cryostat 3cryostat-tech-preview/cryostat-storage-rhel8Fix deferred
Cryostat 4cryostat/cryostat-grafana-dashboard-rhel9Fix deferred
Custom Metric Autoscaler operator for Red Hat Openshiftcustom-metrics-autoscaler/custom-metrics-autoscaler-rhel8Not affected
647 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-45336.

References

Check your stackJSON