Ubuntu CVE Tracker
UBUNTU-CVE-2023-45289
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:14.04:LTS | golang-1.10 | All versions, no fix listed |
| Ubuntu:16.04:LTS | golang-1.10 | All versions, no fix listed |
| Ubuntu:16.04:LTS | golang-1.6 | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | golang-1.13 | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | golang-1.18 | All versions, no fix listed |
| Ubuntu:18.04:LTS | golang-1.10 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | golang-1.13 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | golang-1.16 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | golang-1.18 | All versions, no fix listed |
| Ubuntu:18.04:LTS | golang-1.8 | All versions, no fix listed |
| Ubuntu:18.04:LTS | golang-1.9 | All versions, no fix listed |
| Ubuntu:20.04:LTS | golang-1.21 | All versions before 1.21.1-1~ubuntu20.04.3 (fixed in 1.21.1-1~ubuntu20.04.3) |
| Ubuntu:20.04:LTS | golang-1.13 | All versions, no fix listed |
| Ubuntu:20.04:LTS | golang-1.14 | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | golang-1.16 | All versions, no fix listed |
| Ubuntu:20.04:LTS | golang-1.18 | All versions, no fix listed |
| Ubuntu:20.04:LTS | golang-1.20 | All versions, no fix listed |
| Ubuntu:22.04:LTS | golang-1.17 | All versions, no fix listed |
| Ubuntu:22.04:LTS | golang-1.18 | All versions, no fix listed |
| Ubuntu:22.04:LTS | golang-1.20 | All versions, no fix listed |
| Ubuntu:22.04:LTS | golang-1.21 | All versions before 1.21.1-1~ubuntu22.04.3 (fixed in 1.21.1-1~ubuntu22.04.3) |
| Ubuntu:Pro:22.04:LTS | golang-1.13 | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2023-45289
- https://github.com/golang/go/issues/65065
- https://github.com/golang/go/commit/3a855208e3efed2e9d7c20ad023f1fa78afcc0be
- https://github.com/golang/go/commit/20586c0dbe03d144f914155f879fa5ee287591a1
- https://go.dev/issue/65065
- https://go.dev/cl/569340
- https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg
- https://pkg.go.dev/vuln/GO-2024-2600
- https://www.cve.org/CVERecord?id=CVE-2023-45289
- https://ubuntu.com/security/notices/USN-6886-1