CVE-2023-45289

Incorrect forwarding of sensitive headers and cookies on HTTP redirect in net/http

MEDIUM
4.3
CVSS Score
Published: March 5, 2024 at 10:22 PM UTC
Updated: June 17, 2026 at 06:28 AM UTC
2 products affected across 1 vendor.NETNet/http/cookiejar

Using net/http by Go standard library?

Get instant alerts when new vulnerabilities affect net/http - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.3
Exploit prediction
EPSS 1%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 1.21.81.22.0-0 ≤ v < 1.22.11.22.0-0
Affected range stops below 1.21.8, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.22.1, so it looks safe — our inference, not a vendor statement
v < 1.21.81.22.0-0 ≤ v < 1.22.11.22.0-0
Affected range stops below 1.21.8, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.22.1, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

4.3MEDIUMCISA-ADP
Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card