CVE-2023-45289Sensitive Information Exposure in Standard Library NET Http

Severity
4.3MEDIUMNVD
EPSS
0.6%
top 30.06%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMar 5
Latest updateJul 9

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NExploitability: 2.8 | Impact: 1.4

Affected Packages2 packages

CVEListV5go_standard_library/net_http_cookiejar1.22.0-01.22.1+1
CVEListV5go_standard_library/net_http1.22.0-01.22.1+1

🔴Vulnerability Details

5
OSV
golang-1.21, golang-1.22 vulnerabilities2024-07-09
GHSA
GHSA-32ch-6x54-q4h9: When following an HTTP redirect to a domain which is not a subdomain match or exact match of the initial domain, an http2024-03-06
CVEList
Incorrect forwarding of sensitive headers and cookies on HTTP redirect in net/http2024-03-05
OSV
CVE-2023-45289: When following an HTTP redirect to a domain which is not a subdomain match or exact match of the initial domain, an http2024-03-05
OSV
Incorrect forwarding of sensitive headers and cookies on HTTP redirect in net/http2024-03-05

📋Vendor Advisories

4
Ubuntu
Go vulnerabilities2024-07-09
Microsoft
Incorrect forwarding of sensitive headers and cookies on HTTP redirect in net/http2024-03-12
Red Hat
golang: net/http/cookiejar: incorrect forwarding of sensitive headers and cookies on HTTP redirect2024-03-05
Debian
CVE-2023-45289: golang-1.15 - When following an HTTP redirect to a domain which is not a subdomain match or ex...2023
CVE-2023-45289 — Sensitive Information Exposure | cvebase