Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2023-45289

golang: net/http/cookiejar: incorrect forwarding of sensitive headers and cookies on HTTP redirect

Overview

Published
5 Mar 2024
Modified
17 Jun 2026
Medium CVE
2 Registry packages
386 OS packages
16 Linux distributions
Yes Fix available

Description

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.

Source: OX vulnerability database

Severity

4.3 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Affected packages · 2

Packages affected by CVE-2023-45289
EcosystemPackageVulnerableFixed in
Bitnami golang <1.21.8>=1.22.0-0, <1.22.1 1.21.81.22.1
Go stdlib <1.21.8>=1.22.0-0, <1.22.1 1.21.81.22.1

Open a package to see all its vulnerabilities.

Operating systems · 554 fixes

Oracle Linux 2 releases · 3 packages

fixed 5
delve go-toolset git-lfs
Oracle Linux fixes for CVE-2023-45289
ReleasePackageFixed in
8 delve 1.21.2-3.0.1.module+el8.10.0+90307+cdf2b281
8 go-toolset +6 1.21.9-1.module+el8.10.0+90336+233c4160
8 git-lfs 3.4.1-2.el8_10
9 go-toolset +6 1.21.9-2.el9_4
9 git-lfs 3.4.1-2.el9_4

Photon OS 1 release · 1 package

fixed 1
go
Photon OS fixes for CVE-2023-45289
ReleasePackageFixed in
5.0 go 1.26.3-1.ph5

Red Hat 5 releases · 18 packages

eol 1 affected 1 wont fix 2 fixed 26
golang openshift grafana butane cri-tools cri-o +12
Red Hat fixes for CVE-2023-45289
ReleasePackageFixed inAdvisory
golang +5 eol —
7 openshift +1 affected —
8 grafana +17 wont fix —
8 butane +1 0:0.21.0-1.rhaos4.16.el8 RHSA-2024:0045
8 cri-tools 0:1.29.0-3.1.el8 RHSA-2024:0045
8 cri-o 0:1.29.5-5.rhaos4.16.git7032128.el8 RHSA-2024:0045

24 more rows

SUSE Linux Enterprise 5 releases · 5 packages

fixed 11
go1-21 go1-22 go1-21-openssl go1-22-openssl golang-github-prometheus-prometheus
SUSE Linux Enterprise fixes for CVE-2023-45289
ReleasePackageFixed inAdvisory
12.5 go1-21 +1 1.21.8-1.27.1 SUSE-SU-2024:0800-1
12.5 go1-22 +1 1.22.1-1.3.1 SUSE-SU-2024:0936-1
15.4 go1-21-openssl +2 1.21.13.1-150000.1.11.1 SUSE-SU-2024:3089-1
15.4 go1-21 +2 1.21.8-150000.1.27.1 SUSE-SU-2024:0811-1
15.5 go1-21-openssl +2 1.21.13.1-150000.1.11.1 SUSE-SU-2024:3089-1
15.5 go1-21 +2 1.21.8-150000.1.27.1 SUSE-SU-2024:0811-1

5 more rows

alma 3 releases · 3 packages

fixed 5
git-lfs delve go-toolset
alma fixes for CVE-2023-45289
ReleasePackageFixed in
8 git-lfs 3.4.1-2.el8_10
8 (go-toolset:rhel8) delve 1.21.2-3.module_el8.10.0+3760+4dd778f9
8 (go-toolset:rhel8) go-toolset +6 1.21.9-1.module_el8.10.0+3840+edaca3c3
9 go-toolset +6 1.21.9-2.el9_4
9 git-lfs 3.4.1-2.el9_4

alpine 4 releases · 1 package

fixed 4
go
alpine fixes for CVE-2023-45289
ReleasePackageFixed in
3.22 go 1.22.1-r0
3.23 go 1.22.1-r0
3.24 go 1.22.1-r0
edge go 1.22.1-r0

amazon linux 1 release · 2 packages

fixed 2
golang docker
amazon linux fixes for CVE-2023-45289
ReleasePackageFixed in
2023 golang +6 1.22.3-1.amzn2023.0.1
2023 docker +2 25.0.3-1.amzn2023.0.1

chainguard 1 release · 275 packages

not affected 1 fixed 274
go-1-20 pombump stakater-reloader-0-0-119 stakater-reloader-0-0-128 yam gke-gcloud-auth-plugin +269
chainguard fixes for CVE-2023-45289
ReleasePackageFixed in
go-1-20 not affected
pombump 0.0.11-r1
stakater-reloader-0-0-119 0.0.119-r5
stakater-reloader-0-0-128 0.0.128-r4
yam 0.0.2-r1
gke-gcloud-auth-plugin 0.0.2-r7

269 more rows

debian 3 releases · 3 packages

affected 3
golang-1-11 golang-1-15 golang-1-19
debian fixes for CVE-2023-45289
ReleasePackageFixed in
10 golang-1-11 affected
11 golang-1-15 affected
12 golang-1-19 affected

echo 1 release · 1 package

affected 1
golang-1-19
echo fixes for CVE-2023-45289
ReleasePackageFixed in
golang-1-19 affected

minimos 1 release · 2 packages

fixed 2
solr-operator-0-8 trigger-dev
minimos fixes for CVE-2023-45289
ReleasePackageFixed in
solr-operator-0-8 0.8.1-r1
trigger-dev 4.5.11-r1

openSUSE 1 release · 3 packages

fixed 3
go1-21 go1-22 golang-github-prometheus-prometheus
openSUSE fixes for CVE-2023-45289
ReleasePackageFixed inAdvisory
Tumbleweed go1-21 +3 1.21.8-1.1 openSUSE-SU-2024:13756-1
Tumbleweed go1-22 +3 1.22.1-1.1 openSUSE-SU-2024:13752-1
Tumbleweed golang-github-prometheus-prometheus 3.13.2-1.1 openSUSE-SU-2026:11436-1

rocky 3 releases · 3 packages

fixed 5
git-lfs delve go-toolset
rocky fixes for CVE-2023-45289
ReleasePackageFixed in
8 git-lfs 3.4.1-2.el8_10
8 (go-toolset:rhel8) delve 1.21.2-3.module+el8.10.0+1814+f68f8a63
8 (go-toolset:rhel8) go-toolset +6 1.21.9-1.module+el8.10.0+1814+f68f8a63
9 go-toolset +6 1.21.9-2.el9_4
9 git-lfs 3.4.1-2.el9_4

root.io debian 1 release · 1 package

affected 1
rootio-golang-1-19
root.io debian fixes for CVE-2023-45289
ReleasePackageFixed in
12 rootio-golang-1-19 affected

ubuntu 3 releases · 1 package

fixed 3
golang-1-21
ubuntu fixes for CVE-2023-45289
ReleasePackageFixed in
20.04 golang-1-21 1.21.1-1~ubuntu20.04.3
20.04-ESM golang-1-21 1.21.1-1~ubuntu20.04.3
22.04 golang-1-21 1.21.1-1~ubuntu22.04.3

wolfi 1 release · 203 packages

not affected 1 fixed 202
go-1-20 pombump yam gke-gcloud-auth-plugin wireguard-go local-path-provisioner +197
wolfi fixes for CVE-2023-45289
ReleasePackageFixed in
go-1-20 not affected
pombump 0.0.11-r1
yam 0.0.2-r1
gke-gcloud-auth-plugin 0.0.2-r7
wireguard-go 0.0.20230223-r8
local-path-provisioner 0.0.26-r3

197 more rows

References

Show all 32 references

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.