CVE-2023-45289
MEDIUM4.3EPSS 0.61%Incorrect forwarding of sensitive headers and cookies on HTTP redirect in net/http
發布日:2024/3/5修改日:2026/4/28
描述
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.
受影響套件(4)
- Bitnami/golangfrom 0, < 1.21.8, >= 1.22.0-0, < 1.22.1
- Debian/golang-1.15from 0
- Debian/golang-1.19from 0
- Go/stdlibfrom 0, < 1.21.8, >= 1.22.0-0, < 1.22.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
參考連結(8)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2023-45289
- PATCHhttps://go.dev/cl/569340
- REPORThttps://go.dev/issue/65065
- WEBhttps://groups.google.com/g/golang-announce/c/5pwGVUPoMbg
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2023-45289
- WEBhttps://pkg.go.dev/vuln/GO-2024-2600
- WEBhttps://security.netapp.com/advisory/ntap-20240329-0006/
- WEBhttp://www.openwall.com/lists/oss-security/2024/03/08/4