CVE-2024-45336 Sensitive headers incorrectly sent after cross-domain redirect in net/http
MediumCVSS 6.1
EPSS 0.71%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
The HTTP client drops sensitive headers after following a cross-domain redirect. For example, a request to a.com/ containing an Authorization header which is redirected to b.com/ will not send that header to b.com. In the event that the client received a subsequent same-domain redirect, however, the sensitive headers would be restored. For example, a chain of redirects from a.com/, to b.com/1, and finally to b.com/2 would incorrectly send the Authorization header to b.com/2.
Upgrade path
23 packages: 10 fixed, 2 partially fixed, 11 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/golang-1.19(Debian 12) | = 1.19.8-2; = 1.19.9-1; = 1.19.10-1; = 1.19.10-2 +9 more | No fix listed | No fix yet |
| ubuntu/golang-1.13(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-1.17(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-1.18(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-1.20(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-1.21(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-1.21(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-1.23(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-1.23(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-1.24(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-1.24(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| azure linux golang(Azure Linux 3.0) | < 1.23.7-1; All versions | 1.23.7-1 | Partially fixed |
| cbl-mariner golang(CBL-Mariner 2.0) | < 1.22.7-2; All versions | 1.22.7-2 | Partially fixed |
| alpine/go(Alpine v3.21) | < 1.23.5-r0 | 1.23.5-r0 | Fixed |
| alpine/go(Alpine v3.22) | < 1.23.5-r0 | 1.23.5-r0 | Fixed |
| alpine/go(Alpine v3.23) | < 1.23.5-r0 | 1.23.5-r0 | Fixed |
| alpine/go(Alpine v3.24) | < 1.23.5-r0 | 1.23.5-r0 | Fixed |
| cbl-mariner msft-golang(CBL-Mariner 2.0) | < 1.23.3-2 | 1.23.3-2 | Fixed |
| debian/golang-1.24(Debian 13) | < 1.24~rc2-1 | 1.24~rc2-1 | Fixed |
| net/http(Go) | < 1.22.11; >= 1.23.0-0, < 1.23.5; >= 1.24.0-0, < 1.24.0-rc.2 | 1.22.11, 1.23.5, 1.24.0-rc.2 | Fixed |
| stdlib(Go) | < 1.22.11; >= 1.23.0-0, < 1.23.5; >= 1.24.0-0, < 1.24.0-rc.2 | 1.22.11, 1.23.5, 1.24.0-rc.2 | Fixed |
| ubuntu/golang-1.22(Ubuntu 22.04) | < 1.22.2-2~22.04.3 | 1.22.2-2~22.04.3 | Fixed |
| ubuntu/golang-1.22(Ubuntu 24.04) | < 1.22.2-2ubuntu0.4 | 1.22.2-2ubuntu0.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| stdlib(Go) | < 1.22.11 | 1.22.11 |
| stdlib(Go) | >= 1.23.0-0, < 1.23.5 | 1.23.5 |
| stdlib(Go) | >= 1.24.0-0, < 1.24.0-rc.2 | 1.24.0-rc.2 |
| cbl-mariner msft-golang(CBL-Mariner:2.0) | < 1.23.3-2 | 1.23.3-2 |
| cbl-mariner golang(CBL-Mariner:2.0) | < 1.22.7-2 | 1.22.7-2 |
| azure linux golang(Azure Linux:3.0) | < 1.23.7-1 | 1.23.7-1 |
| cbl-mariner golang(CBL-Mariner:2.0) | All versions | No fix listed |
| azure linux golang(Azure Linux:3.0) | All versions | No fix listed |
| debian/golang-1.19(Debian:12) | All versions | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.10-1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.10-2 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.11-1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.12-1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.12-2 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.12-2~bpo11+1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.12-2~bpo12+1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.13-1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.13-1~bpo11+1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.13-1~bpo12+1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.8-2 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.9-1 | No fix listed |
| debian/golang-1.24(Debian:13) | < 1.24~rc2-1 | 1.24~rc2-1 |
| ubuntu/golang-1.17(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-1.18(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-1.20(Ubuntu:22.04) | All versions | No fix listed |
Show 16 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/golang-1.21(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-1.22(Ubuntu:22.04) | < 1.22.2-2~22.04.3 | 1.22.2-2~22.04.3 |
| ubuntu/golang-1.23(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-1.24(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-1.13(Ubuntu:22.04) | All versions | No fix listed |
| net/http(Go) | < 1.22.11 | 1.22.11 |
| net/http(Go) | >= 1.23.0-0, < 1.23.5 | 1.23.5 |
| net/http(Go) | >= 1.24.0-0, < 1.24.0-rc.2 | 1.24.0-rc.2 |
| alpine/go(Alpine:v3.21) | < 1.23.5-r0 | 1.23.5-r0 |
| alpine/go(Alpine:v3.22) | < 1.23.5-r0 | 1.23.5-r0 |
| alpine/go(Alpine:v3.23) | < 1.23.5-r0 | 1.23.5-r0 |
| alpine/go(Alpine:v3.24) | < 1.23.5-r0 | 1.23.5-r0 |
| ubuntu/golang-1.24(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/golang-1.21(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/golang-1.22(Ubuntu:24.04) | < 1.22.2-2ubuntu0.4 | 1.22.2-2ubuntu0.4 |
| ubuntu/golang-1.23(Ubuntu:24.04) | All versions | No fix listed |
References
- go.dev patch
- go.dev issue-tracking
- groups.google.com
- groups.google.com
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases patch vendor-advisory
- Debian Security Tracker CVE-2024-45336 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-7574-1 vendor-advisory
- www.cve.org
- pkg.go.dev
- security.netapp.com
- security.alpinelinux.org vendor-advisory