CVE-2023-45289
golang: net/http/cookiejar: incorrect forwarding of sensitive headers and cookies on HTTP redirect
Overview
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
Operating systems · 554 fixes
Oracle Linux 2 releases · 3 packages
| Release | Package | Fixed 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
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | go | 1.26.3-1.ph5 |
Red Hat 5 releases · 18 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed 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
| Release | Package | Fixed 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
| Release | Package | Fixed 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
| Release | Package | Fixed 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
| Release | Package | Fixed in |
|---|---|---|
| 10 | golang-1-11 | affected |
| 11 | golang-1-15 | affected |
| 12 | golang-1-19 | affected |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| golang-1-19 | affected |
minimos 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| solr-operator-0-8 | 0.8.1-r1 | |
| trigger-dev | 4.5.11-r1 |
openSUSE 1 release · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed 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
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-golang-1-19 | affected |
ubuntu 3 releases · 1 package
| Release | Package | Fixed 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
| Release | Package | Fixed 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
- www.openwall.com http://www.openwall.com/lists/oss-security/2024/03/08/4
- access.redhat.com https://access.redhat.com/errata/RHSA-2024:2724
- access.redhat.com https://access.redhat.com/errata/RHSA-2024:3346
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-45289
- bugzilla.redhat.com https://bugzilla.redhat.com/2268017
- bugzilla.redhat.com https://bugzilla.redhat.com/2268018
- bugzilla.redhat.com https://bugzilla.redhat.com/2268019
- bugzilla.redhat.com https://bugzilla.redhat.com/2268273
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2268017
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2268018
Show all 32 references
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2268019
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2268273
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-45288
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-45289
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-45290
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-24783
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2024-2724.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2024:3346
- github.com https://github.com/golang/go/commit/20586c0dbe03d144f914155f879fa5ee287591a1 (go1.21.8)
- github.com https://github.com/golang/go/commit/3a855208e3efed2e9d7c20ad023f1fa78afcc0be (go1.22.1)
- github.com https://github.com/golang/go/issues/65065
- go.dev https://go.dev/cl/569340
- go.dev https://go.dev/issue/65065
- groups.google.com https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg
- linux.oracle.com https://linux.oracle.com/cve/CVE-2023-45289.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2024-3346.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-45289
- pkg.go.dev https://pkg.go.dev/vuln/GO-2024-2600
- security.netapp.com https://security.netapp.com/advisory/ntap-20240329-0006/
- ubuntu.com https://ubuntu.com/security/notices/USN-6886-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2023-45289
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.