cve.bz

CVE-2023-45289 go standard library

4.3 mediumEPSS 1.1%Fix available

Medium (4.3) in go standard library. EPSS 1.1% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.21.8, 1.22.1.

On this page
When following an HTTP redirect to a domain which is not a subdomain match or exact match of the initial domain, an http.Client does not forward sensitive headers such as "Authorization" or "Cookie". For example, a redirect from foo.com to www.foo.com will forward the Authorization header, but a redirect to bar.com will not. A maliciously crafted HTTP redirect could cause sensitive headers to be unexpectedly forwarded.

Severity

CVSS 3.1

4.3 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS
1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 66th 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 2024-03-06. 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.21.8, 1.22.1
  • 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-2023-45289 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-45289?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-45289?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-2023-45289 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.21.8
Go standard library net/httpfrom 1.22.0-0 before 1.22.1
Go standard library net/http/cookiejarbefore 1.21.8
Go standard library net/http/cookiejarfrom 1.22.0-0 before 1.22.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2024-2600Gostdlib<1.21.8
>=1.22.0-0 <1.22.1
1.21.8, 1.22.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12golang-1.19no fix listedDEBIAN-CVE-2023-45289
Ubuntu14.04:LTSgolang-1.10no fix listedUBUNTU-CVE-2023-45289
Ubuntu16.04:LTSgolang-1.6, golang-1.10no fix listedUBUNTU-CVE-2023-45289
Ubuntu18.04:LTSgolang-1.8, golang-1.9, golang-1.10no fix listedUBUNTU-CVE-2023-45289
Ubuntu20.04:LTSgolang-1.13, golang-1.14, golang-1.18 and 1 moreno fix listedUBUNTU-CVE-2023-45289
Ubuntu20.04:LTSgolang-1.211.21.1-1~ubuntu20.04.3UBUNTU-CVE-2023-45289 USN-6886-1
Ubuntu22.04:LTSgolang-1.17, golang-1.18, golang-1.20no fix listedUBUNTU-CVE-2023-45289
Ubuntu22.04:LTSgolang-1.211.21.1-1~ubuntu22.04.3UBUNTU-CVE-2023-45289 USN-6886-1
Ubuntu22.04:LTSgolang-1.221.22.2-2~22.04.1USN-6886-1
Ubuntu24.04:LTSgolang-1.211.21.9-1ubuntu0.1USN-6886-1
Ubuntu24.04:LTSgolang-1.221.22.2-2ubuntu0.1USN-6886-1
UbuntuPro:16.04:LTSgolang-1.13, golang-1.18no fix listedUBUNTU-CVE-2023-45289
UbuntuPro:18.04:LTSgolang-1.13, golang-1.16, golang-1.18no fix listedUBUNTU-CVE-2023-45289
2 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::appstreamdelve, delve-debuginfo, delve-debugsource0:1.21.2-3.module+el8.10.0+21244+5b2d9000RHSA-2024:3259
Red Hatenterprise_linux:8::appstreamgit-lfs, git-lfs-debuginfo, git-lfs-debugsource0:3.4.1-2.el8_10RHSA-2024:3346
Red Hatenterprise_linux:8::appstreamgolang, go-toolset, golang-bin and 4 more0:1.21.9-1.module+el8.10.0+21671+b35c3b78RHSA-2024:3259
Red Hatenterprise_linux:9::appstreamgit-lfs, git-lfs-debuginfo, git-lfs-debugsource0:3.4.1-2.el9_4RHSA-2024:2724
Red Hatenterprise_linux:9::appstreamgolang, go-toolset, golang-bin and 4 more0:1.21.9-2.el9_4RHSA-2024:2562
Red Hatopenshift:4.16::el8butane, butane-debuginfo, butane-debugsource and 1 more0:0.21.0-1.rhaos4.16.el8RHSA-2024:0045
Red Hatopenshift:4.16::el8cri-o, cri-o-debuginfo, cri-o-debugsource0:1.29.5-5.rhaos4.16.git7032128.el8RHSA-2024:0045
Red Hatopenshift:4.16::el8cri-tools, cri-tools-debuginfo, cri-tools-debugsource0:1.29.0-3.1.el8RHSA-2024:0045
Red Hatopenshift:4.16::el8openshift, openshift-kubelet, openshift-hyperkube and 3 more0:4.16.0-202406170957.p0.g29c95f3.assembly.stream.el8RHSA-2024:0045
Red Hatopenshift:4.16::el8ose-aws-ecr-image-credential-provider0:4.16.0-202405311136.p0.ga53e9de.assembly.stream.el8RHSA-2024:0045
Red Hatopenshift:4.16::el8ose-azure-acr-image-credential-provider0:4.16.0-202404301345.p0.g0e95532.assembly.stream.el8RHSA-2024:0045
Red Hatopenshift:4.16::el8ose-gcp-gcr-image-credential-provider0:4.16.0-202404181812.p0.g26b43df.assembly.stream.el8RHSA-2024:0045
16 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Module for Development Tools 15 SP5 and 2 morego1.211.21.8-150000.1.27.1SUSE-SU-2024:0811-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Module for Development Tools 15 SP5 and 2 morego1.21-openssl1.21.13.1-150000.1.11.1SUSE-SU-2024:3089-1
SUSELinux Enterprise Module for Development Tools 15 SP5go1.221.22.1-150000.1.9.1SUSE-SU-2024:0812-1
SUSELinux Enterprise Module for Development Tools 15 SP5go1.22-openssl1.22.7.1-150000.1.3.1SUSE-SU-2024:3772-1
SUSELinux Enterprise Module for Development Tools 15 SP6go1.21-openssl1.21.13.1-150600.16.3.1SUSE-SU-2024:3755-1
SUSELinux Enterprise Module for Development Tools 15 SP6go1.22-openssl1.22.7.1-150600.13.3.1SUSE-SU-2024:3938-1
SUSELinux Enterprise Module for Package Hub 15 SP7golang-github-prometheus-prometheus3.13.2-150100.4.40.2SUSE-SU-2026:4606-1
SUSELinux Enterprise Software Development Kit 12 SP5go1.211.21.8-1.27.1SUSE-SU-2024:0800-1
SUSELinux Enterprise Software Development Kit 12 SP5go1.221.22.1-1.3.1SUSE-SU-2024:0936-1
SUSEMulti Linux Manager Tools SLE-15golang-github-prometheus-prometheus3.13.2-150002.3.19.1SUSE-SU-2026:4585-1
SUSEMulti Linux Manager Tools SLE-15grafana12.4.10-150002.4.27.1SUSE-SU-2026:4585-1
SUSEMulti Linux Manager Tools SLE-15mgr-push5.2.5-150002.3.12.1SUSE-SU-2026:4585-1
4 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.5go1.211.21.8-150000.1.27.1SUSE-SU-2024:0811-1
openSUSELeap 15.5go1.21-openssl1.21.13.1-150000.1.11.1SUSE-SU-2024:3089-1
openSUSELeap 15.5go1.221.22.1-150000.1.9.1SUSE-SU-2024:0812-1
openSUSELeap 15.5go1.22-openssl1.22.7.1-150000.1.3.1SUSE-SU-2024:3772-1
openSUSELeap 15.6go1.21-openssl1.21.13.1-150600.16.3.1SUSE-SU-2024:3755-1
openSUSELeap 15.6go1.22-openssl1.22.7.1-150600.13.3.1SUSE-SU-2024:3938-1
openSUSETumbleweedgo1.211.21.8-1.1openSUSE-SU-2024:13756-1
openSUSETumbleweedgo1.221.22.1-1.1openSUSE-SU-2024:13752-1
openSUSETumbleweedgolang-github-prometheus-prometheus3.13.2-1.1openSUSE-SU-2026:11436-1
AlmaLinux8delve1.21.2-3.module_el8.10.0+3760+4dd778f9ALSA-2024:3259
AlmaLinux8git-lfs3.4.1-2.el8_10ALSA-2024:3346
AlmaLinux8golang, go-toolset, golang-bin and 4 more1.21.9-1.module_el8.10.0+3840+edaca3c3ALSA-2024:3259
AlmaLinux9git-lfs3.4.1-2.el9_4ALSA-2024:2724
AlmaLinux9golang, go-toolset, golang-bin and 4 more1.21.9-2.el9_4ALSA-2024:2562
Rocky Linux8git-lfs0:3.4.1-2.el8_10RLSA-2024:3346
Rocky Linux9git-lfs0:3.4.1-2.el9_4RLSA-2024:2724
Alpinev3.19go1.21.8-r0ALPINE-CVE-2023-45289
Alpinev3.20, v3.21, v3.22 and 2 morego1.22.1-r0ALPINE-CVE-2023-45289
Azure Linux2golang1.21.6-1AZL-37462 AZL-37473
Azure Linux3golangno fix listedAZL-78974 AZL-98628
Alpaquita23go1.21.8-r0BELL-CVE-2023-45289
Alpaquitastreamgo1.22.1-r0BELL-CVE-2023-45289
BellSoft Hardened Containers23go1.21.8-r0BELL-CVE-2023-45289
BellSoft Hardened Containersstreamgo1.22.1-r0BELL-CVE-2023-45289

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 mitigation

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

ProductPackageStateAdvisory
Migration Toolkit for Virtualization 2.6migration-toolkit-virtualization/mtv-api-rhel9:2.6.2-9Fixed 2024-05-29RHBA-2024:3470
Migration Toolkit for Virtualization 2.6migration-toolkit-virtualization/mtv-console-plugin-rhel9:2.6.2-6Fixed 2024-05-29RHBA-2024:3470
Migration Toolkit for Virtualization 2.6migration-toolkit-virtualization/mtv-controller-rhel9:2.6.2-9Fixed 2024-05-29RHBA-2024:3470
Migration Toolkit for Virtualization 2.6migration-toolkit-virtualization/mtv-must-gather-rhel8:2.6.2-6Fixed 2024-05-29RHBA-2024:3470
Migration Toolkit for Virtualization 2.6migration-toolkit-virtualization/mtv-openstack-populator-rhel9:2.6.2-8Fixed 2024-05-29RHBA-2024:3470
Migration Toolkit for Virtualization 2.6migration-toolkit-virtualization/mtv-operator-bundle:2.6.2-26Fixed 2024-05-29RHBA-2024:3470
Migration Toolkit for Virtualization 2.6migration-toolkit-virtualization/mtv-ova-provider-server-rhel9:2.6.2-9Fixed 2024-05-29RHBA-2024:3470
Migration Toolkit for Virtualization 2.6migration-toolkit-virtualization/mtv-populator-controller-rhel9:2.6.2-9Fixed 2024-05-29RHBA-2024:3470
Migration Toolkit for Virtualization 2.6migration-toolkit-virtualization/mtv-rhel8-operator:2.6.2-11Fixed 2024-05-29RHBA-2024:3470
Migration Toolkit for Virtualization 2.6migration-toolkit-virtualization/mtv-rhv-populator-rhel8:2.6.2-11Fixed 2024-05-29RHBA-2024:3470
Builds for Red Hat OpenShiftopenshift-builds-triggers-containerWill not fix
cert-manager Operator for Red Hat OpenShiftcert-manager/jetstack-cert-manager-rhel9Not affected
Migration Toolkit for Applications 6mta/mta-hub-rhel9Will not fix
Migration Toolkit for Applications 7mta/mta-hub-rhel9Not affected
Multicluster Engine for Kubernetesmulticluster-engine/hive-rhel8Will not fix
OpenShift Developer Tools and ServiceshelmAffected
OpenShift Pipelinesopenshift-pipelines-clientAffected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/thanos-rhel9Not affected
Red Hat Advanced Cluster Security 3advanced-cluster-security/rhacs-main-rhel8Out of support scope
Red Hat Ceph Storage 5rhceph/rhceph-5-dashboard-rhel8Out of support scope
316 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-2023-45289.

References

Check your stackJSON