CVE-2023-45289
published medium CVSS 3.1 · 4.3Incorrect forwarding of sensitive headers and cookies on HTTP redirect in net/http
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Go standard library | — | net/http0 to < 1.21.8 · 1.22.0-0 to < 1.22.1 · Other versions: unaffected | Affected | Not stated | Go |
| Go standard library | — | net/http/cookiejar0 to < 1.21.8 · 1.22.0-0 to < 1.22.1 · Other versions: unaffected | Affected | Not stated | Go |
| Amazon Linux | AL2 | Release evaluationALAS2-2024-2554 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2DOCKER-2024-045 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2ECS-2024-042 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2NITRO-ENCLAVES-2024-046 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | delve | Advisory build | 1.21.2-3.module_el8.10.0+3760+4dd778f9 | ALSA-2024:3259 |
| Alpine Linux | edge | go | Fixed | 1.22.1-r0 | Package fix record |
Show 100 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-542 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-629 | Fixed | Not stated | Amazon Linux assessment |
| Oracle Linux | 8 | delveaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.21.2-3.0.1.module+el8.10.0+90307+cdf2b281 | ELSA-2024-3259 |
| Red Hat Enterprise Linux | RHEL-8 | delveaarch64 | Advisory build | 1.21.2-3.module+el8.10.0+21244+5b2d9000 | RHSA-2024:3259 |
| AlmaLinux | 8 | git-lfs | Advisory build | 3.4.1-2.el8_10 | ALSA-2024:3346 |
| AlmaLinux | 8 | go-toolset | Advisory build | 1.21.9-1.module_el8.10.0+3840+edaca3c3 | ALSA-2024:3259 |
| AlmaLinux | 8 | golang | Advisory build | 1.21.9-1.module_el8.10.0+3840+edaca3c3 | ALSA-2024:3259 |
| AlmaLinux | 8 | golang-bin | Advisory build | 1.21.9-1.module_el8.10.0+3840+edaca3c3 | ALSA-2024:3259 |
| AlmaLinux | 8 | golang-docs | Advisory build | 1.21.9-1.module_el8.10.0+3840+edaca3c3 | ALSA-2024:3259 |
| AlmaLinux | 8 | golang-misc | Advisory build | 1.21.9-1.module_el8.10.0+3840+edaca3c3 | ALSA-2024:3259 |
| AlmaLinux | 8 | golang-src | Advisory build | 1.21.9-1.module_el8.10.0+3840+edaca3c3 | ALSA-2024:3259 |
| AlmaLinux | 8 | golang-tests | Advisory build | 1.21.9-1.module_el8.10.0+3840+edaca3c3 | ALSA-2024:3259 |
| AlmaLinux | 9 | git-lfs | Advisory build | 3.4.1-2.el9_4 | ALSA-2024:2724 |
| AlmaLinux | 9 | go-toolset | Advisory build | 1.21.9-2.el9_4 | ALSA-2024:2562 |
| AlmaLinux | 9 | golang | Advisory build | 1.21.9-2.el9_4 | ALSA-2024:2562 |
| AlmaLinux | 9 | golang-bin | Advisory build | 1.21.9-2.el9_4 | ALSA-2024:2562 |
| AlmaLinux | 9 | golang-docs | Advisory build | 1.21.9-2.el9_4 | ALSA-2024:2562 |
| AlmaLinux | 9 | golang-misc | Advisory build | 1.21.9-2.el9_4 | ALSA-2024:2562 |
| AlmaLinux | 9 | golang-src | Advisory build | 1.21.9-2.el9_4 | ALSA-2024:2562 |
| AlmaLinux | 9 | golang-tests | Advisory build | 1.21.9-2.el9_4 | ALSA-2024:2562 |
| Alpine Linux | v3.19 | go | Fixed | 1.21.8-r0 | Package fix record |
| Alpine Linux | v3.20 | go | Fixed | 1.22.1-r0 | Package fix record |
| Alpine Linux | v3.21 | go | Fixed | 1.22.1-r0 | Package fix record |
| Alpine Linux | v3.22 | go | Fixed | 1.22.1-r0 | Package fix record |
| Alpine Linux | v3.23 | go | Fixed | 1.22.1-r0 | Package fix record |
| Alpine Linux | v3.24 | go | Fixed | 1.22.1-r0 | Package fix record |
| Oracle Linux | 8 | delvex86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.21.2-3.0.1.module+el8.10.0+90307+cdf2b281 | ELSA-2024-3259 |
| Oracle Linux | 8 | git-lfsaarch64 | Advisory build | 0:3.4.1-2.el8_10 | ELSA-2024-3346 |
| Oracle Linux | 8 | git-lfsx86_64 | Advisory build | 0:3.4.1-2.el8_10 | ELSA-2024-3346 |
| Oracle Linux | 8 | go-toolsetaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.21.9-1.module+el8.10.0+90336+233c4160 | ELSA-2024-3259 |
| Oracle Linux | 8 | go-toolsetx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.21.9-1.module+el8.10.0+90336+233c4160 | ELSA-2024-3259 |
| Oracle Linux | 8 | golangaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.21.9-1.module+el8.10.0+90336+233c4160 | ELSA-2024-3259 |
| Oracle Linux | 8 | golangx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.21.9-1.module+el8.10.0+90336+233c4160 | ELSA-2024-3259 |
| Oracle Linux | 8 | golang-binaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.21.9-1.module+el8.10.0+90336+233c4160 | ELSA-2024-3259 |
| Oracle Linux | 8 | golang-binx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.21.9-1.module+el8.10.0+90336+233c4160 | ELSA-2024-3259 |
| Oracle Linux | 8 | golang-docsaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.21.9-1.module+el8.10.0+90336+233c4160 | ELSA-2024-3259 |
| Oracle Linux | 8 | golang-docsx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.21.9-1.module+el8.10.0+90336+233c4160 | ELSA-2024-3259 |
| Oracle Linux | 8 | golang-miscaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.21.9-1.module+el8.10.0+90336+233c4160 | ELSA-2024-3259 |
| Oracle Linux | 8 | golang-miscx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.21.9-1.module+el8.10.0+90336+233c4160 | ELSA-2024-3259 |
| Oracle Linux | 8 | golang-srcaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.21.9-1.module+el8.10.0+90336+233c4160 | ELSA-2024-3259 |
| Oracle Linux | 8 | golang-srcx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.21.9-1.module+el8.10.0+90336+233c4160 | ELSA-2024-3259 |
| Oracle Linux | 8 | golang-testsaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.21.9-1.module+el8.10.0+90336+233c4160 | ELSA-2024-3259 |
| Oracle Linux | 8 | golang-testsx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.21.9-1.module+el8.10.0+90336+233c4160 | ELSA-2024-3259 |
| Oracle Linux | 9 | git-lfsaarch64 | Advisory build | 0:3.4.1-2.el9_4 | ELSA-2024-2724 |
| Oracle Linux | 9 | git-lfsx86_64 | Advisory build | 0:3.4.1-2.el9_4 | ELSA-2024-2724 |
| Oracle Linux | 9 | go-toolsetaarch64 | Advisory build | 0:1.21.9-2.el9_4 | ELSA-2024-2562 |
| Oracle Linux | 9 | go-toolsetx86_64 | Advisory build | 0:1.21.9-2.el9_4 | ELSA-2024-2562 |
| Oracle Linux | 9 | golangaarch64 | Advisory build | 0:1.21.9-2.el9_4 | ELSA-2024-2562 |
| Oracle Linux | 9 | golangx86_64 | Advisory build | 0:1.21.9-2.el9_4 | ELSA-2024-2562 |
| Oracle Linux | 9 | golang-binaarch64 | Advisory build | 0:1.21.9-2.el9_4 | ELSA-2024-2562 |
| Oracle Linux | 9 | golang-binx86_64 | Advisory build | 0:1.21.9-2.el9_4 | ELSA-2024-2562 |
| Oracle Linux | 9 | golang-docsaarch64 | Advisory build | 0:1.21.9-2.el9_4 | ELSA-2024-2562 |
| Oracle Linux | 9 | golang-docsx86_64 | Advisory build | 0:1.21.9-2.el9_4 | ELSA-2024-2562 |
| Oracle Linux | 9 | golang-miscaarch64 | Advisory build | 0:1.21.9-2.el9_4 | ELSA-2024-2562 |
| Oracle Linux | 9 | golang-miscx86_64 | Advisory build | 0:1.21.9-2.el9_4 | ELSA-2024-2562 |
| Oracle Linux | 9 | golang-srcaarch64 | Advisory build | 0:1.21.9-2.el9_4 | ELSA-2024-2562 |
| Oracle Linux | 9 | golang-srcx86_64 | Advisory build | 0:1.21.9-2.el9_4 | ELSA-2024-2562 |
| Oracle Linux | 9 | golang-testsaarch64 | Advisory build | 0:1.21.9-2.el9_4 | ELSA-2024-2562 |
| Oracle Linux | 9 | golang-testsx86_64 | Advisory build | 0:1.21.9-2.el9_4 | ELSA-2024-2562 |
| Red Hat Enterprise Linux | RHEL-8 | delveppc64le | Advisory build | 1.21.2-3.module+el8.10.0+21244+5b2d9000 | RHSA-2024:3259 |
| Red Hat Enterprise Linux | RHEL-8 | delvesrc | Advisory build | 1.21.2-3.module+el8.10.0+21244+5b2d9000 | RHSA-2024:3259 |
| Red Hat Enterprise Linux | RHEL-8 | delvex86_64 | Advisory build | 1.21.2-3.module+el8.10.0+21244+5b2d9000 | RHSA-2024:3259 |
| Red Hat Enterprise Linux | RHEL-8 | delve-debuginfoaarch64 | Advisory build | 1.21.2-3.module+el8.10.0+21244+5b2d9000 | RHSA-2024:3259 |
| Red Hat Enterprise Linux | RHEL-8 | delve-debuginfoppc64le | Advisory build | 1.21.2-3.module+el8.10.0+21244+5b2d9000 | RHSA-2024:3259 |
| Red Hat Enterprise Linux | RHEL-8 | delve-debuginfox86_64 | Advisory build | 1.21.2-3.module+el8.10.0+21244+5b2d9000 | RHSA-2024:3259 |
| Red Hat Enterprise Linux | RHEL-8 | delve-debugsourceaarch64 | Advisory build | 1.21.2-3.module+el8.10.0+21244+5b2d9000 | RHSA-2024:3259 |
| Red Hat Enterprise Linux | RHEL-8 | delve-debugsourceppc64le | Advisory build | 1.21.2-3.module+el8.10.0+21244+5b2d9000 | RHSA-2024:3259 |
| Red Hat Enterprise Linux | RHEL-8 | delve-debugsourcex86_64 | Advisory build | 1.21.2-3.module+el8.10.0+21244+5b2d9000 | RHSA-2024:3259 |
| Red Hat Enterprise Linux | RHEL-8 | git-lfsaarch64 | Advisory build | 3.4.1-2.el8_10 | RHSA-2024:3346 |
| Red Hat Enterprise Linux | RHEL-8 | git-lfsppc64le | Advisory build | 3.4.1-2.el8_10 | RHSA-2024:3346 |
| Red Hat Enterprise Linux | RHEL-8 | git-lfss390x | Advisory build | 3.4.1-2.el8_10 | RHSA-2024:3346 |
| Red Hat Enterprise Linux | RHEL-8 | git-lfssrc | Advisory build | 3.4.1-2.el8_10 | RHSA-2024:3346 |
| Red Hat Enterprise Linux | RHEL-8 | git-lfsx86_64 | Advisory build | 3.4.1-2.el8_10 | RHSA-2024:3346 |
| Red Hat Enterprise Linux | RHEL-8 | git-lfs-debuginfoaarch64 | Advisory build | 3.4.1-2.el8_10 | RHSA-2024:3346 |
| Red Hat Enterprise Linux | RHEL-8 | git-lfs-debuginfoppc64le | Advisory build | 3.4.1-2.el8_10 | RHSA-2024:3346 |
| Red Hat Enterprise Linux | RHEL-8 | git-lfs-debuginfos390x | Advisory build | 3.4.1-2.el8_10 | RHSA-2024:3346 |
| Red Hat Enterprise Linux | RHEL-8 | git-lfs-debuginfox86_64 | Advisory build | 3.4.1-2.el8_10 | RHSA-2024:3346 |
| Red Hat Enterprise Linux | RHEL-8 | git-lfs-debugsourceaarch64 | Advisory build | 3.4.1-2.el8_10 | RHSA-2024:3346 |
| Red Hat Enterprise Linux | RHEL-8 | git-lfs-debugsourceppc64le | Advisory build | 3.4.1-2.el8_10 | RHSA-2024:3346 |
| Red Hat Enterprise Linux | RHEL-8 | git-lfs-debugsources390x | Advisory build | 3.4.1-2.el8_10 | RHSA-2024:3346 |
| Red Hat Enterprise Linux | RHEL-8 | git-lfs-debugsourcex86_64 | Advisory build | 3.4.1-2.el8_10 | RHSA-2024:3346 |
| Red Hat Enterprise Linux | RHEL-8 | go-toolsetaarch64 | Advisory build | 1.21.9-1.module+el8.10.0+21671+b35c3b78 | RHSA-2024:3259 |
| Red Hat Enterprise Linux | RHEL-8 | go-toolsetppc64le | Advisory build | 1.21.9-1.module+el8.10.0+21671+b35c3b78 | RHSA-2024:3259 |
| Red Hat Enterprise Linux | RHEL-8 | go-toolsets390x | Advisory build | 1.21.9-1.module+el8.10.0+21671+b35c3b78 | RHSA-2024:3259 |
| Red Hat Enterprise Linux | RHEL-8 | go-toolsetsrc | Advisory build | 1.21.9-1.module+el8.10.0+21671+b35c3b78 | RHSA-2024:3259 |
| Red Hat Enterprise Linux | RHEL-8 | go-toolsetx86_64 | Advisory build | 1.21.9-1.module+el8.10.0+21671+b35c3b78 | RHSA-2024:3259 |
| Red Hat Enterprise Linux | RHEL-8 | golangaarch64 | Advisory build | 1.21.9-1.module+el8.10.0+21671+b35c3b78 | RHSA-2024:3259 |
| Red Hat Enterprise Linux | RHEL-8 | golangppc64le | Advisory build | 1.21.9-1.module+el8.10.0+21671+b35c3b78 | RHSA-2024:3259 |
| Red Hat Enterprise Linux | RHEL-8 | golangs390x | Advisory build | 1.21.9-1.module+el8.10.0+21671+b35c3b78 | RHSA-2024:3259 |
| Red Hat Enterprise Linux | RHEL-8 | golangsrc | Advisory build | 1.21.9-1.module+el8.10.0+21671+b35c3b78 | RHSA-2024:3259 |
| Red Hat Enterprise Linux | RHEL-8 | golangx86_64 | Advisory build | 1.21.9-1.module+el8.10.0+21671+b35c3b78 | RHSA-2024:3259 |
| Red Hat Enterprise Linux | RHEL-8 | golang-binaarch64 | Advisory build | 1.21.9-1.module+el8.10.0+21671+b35c3b78 | RHSA-2024:3259 |
| Red Hat Enterprise Linux | RHEL-8 | golang-binppc64le | Advisory build | 1.21.9-1.module+el8.10.0+21671+b35c3b78 | RHSA-2024:3259 |
| Red Hat Enterprise Linux | RHEL-8 | golang-bins390x | Advisory build | 1.21.9-1.module+el8.10.0+21671+b35c3b78 | RHSA-2024:3259 |
| Red Hat Enterprise Linux | RHEL-8 | golang-binx86_64 | Advisory build | 1.21.9-1.module+el8.10.0+21671+b35c3b78 | RHSA-2024:3259 |
| Red Hat Enterprise Linux | RHEL-8 | golang-docsnoarch | Advisory build | 1.21.9-1.module+el8.10.0+21671+b35c3b78 | RHSA-2024:3259 |
| Red Hat Enterprise Linux | RHEL-8 | golang-miscnoarch | Advisory build | 1.21.9-1.module+el8.10.0+21671+b35c3b78 | RHSA-2024:3259 |
| Red Hat Enterprise Linux | RHEL-8 | golang-srcnoarch | Advisory build | 1.21.9-1.module+el8.10.0+21671+b35c3b78 | RHSA-2024:3259 |
| Red Hat Enterprise Linux | RHEL-8 | golang-testsnoarch | Advisory build | 1.21.9-1.module+el8.10.0+21671+b35c3b78 | RHSA-2024:3259 |
| Red Hat Enterprise Linux | RHEL-9 | git-lfsaarch64 | Advisory build | 3.4.1-2.el9_4 | RHSA-2024:2724 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.3 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Go standard library | net/http | 0 to < 1.21.8 (affected · semver)1.22.0-0 to < 1.22.1 (affected · semver)Default: unaffected | Go · cna |
| Go standard library | net/http/cookiejar | 0 to < 1.21.8 (affected · semver)1.22.0-0 to < 1.22.1 (affected · semver)Default: unaffected | Go · cna |
Weaknesses
1- CWE-212 CWE-212: Improper Removal of Sensitive Information Before Storage or Transfer
References
6Provider assertions
3Go · cna
Incorrect forwarding of sensitive headers and cookies on HTTP redirect in net/http
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3627f8ec582beee5562df10fb1117dcc06abfbeada9ad784f30d53942885f41a
- Ingested
- 23 Sep 2026, 08:12:20 UTC
- Source record
- Official CVE record