CVE-2024-45336

Sensitive headers incorrectly sent after cross-domain redirect in net/http

Published Jan 28, 2025 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-41740 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.
Ubuntu USN Ubuntu USN USN-7574-1 Go vulnerabilities
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00032}

epss

{'score': 0.00035}

Type Values Removed Values Added
First Time appeared Redhat rhel Satellite Client
CPEs cpe:/a:redhat:rhel_satellite_client:6::el8
cpe:/a:redhat:rhel_satellite_client:6::el9
Vendors & Products Redhat rhel Satellite Client
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10.0
Type Values Removed Values Added
First Time appeared Redhat ceph Storage
CPEs cpe:/a:redhat:acm:2.11::el9
cpe:/a:redhat:ceph_storage:7.1::el9
Vendors & Products Redhat ceph Storage
Type Values Removed Values Added
First Time appeared Redhat acm
CPEs cpe:/a:redhat:acm:2.12::el9
Vendors & Products Redhat acm
Type Values Removed Values Added
First Time appeared Redhat service Mesh
CPEs cpe:/a:redhat:service_mesh:2.5::el8
Vendors & Products Redhat service Mesh
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:8
Type Values Removed Values Added
First Time appeared Redhat rhel Eus
CPEs cpe:/a:redhat:rhel_eus:9.4
Vendors & Products Redhat rhel Eus
Type Values Removed Values Added
First Time appeared Redhat enterprise Linux
CPEs cpe:/a:redhat:enterprise_linux:9
Vendors & Products Redhat enterprise Linux
Type Values Removed Values Added
First Time appeared Redhat logging
CPEs cpe:/a:redhat:logging:6.1::el9
Vendors & Products Redhat logging
Type Values Removed Values Added
First Time appeared Redhat
Redhat openshift Distributed Tracing
CPEs cpe:/a:redhat:openshift_distributed_tracing:3.5::el8
Vendors & Products Redhat
Redhat openshift Distributed Tracing
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

Type Values Removed Values Added
Description No description is available for this CVE. 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.
Title golang: net/http: net/http: sensitive headers incorrectly sent after cross-domain redirect Sensitive headers incorrectly sent after cross-domain redirect in net/http
References
Type Values Removed Values Added
Description No description is available for this CVE.
Title golang: net/http: net/http: sensitive headers incorrectly sent after cross-domain redirect
Weaknesses CWE-200
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N'}

threat_severity

Moderate

Weaknesses

Sources

Status
PUBLISHED
Assigner
Go
Published
Updated
Sep 18, 2025, 6:41 PM
Reserved
Aug 27, 2024, 7:41 PM
Status
Deferred
Published
Jan 28, 2025, 2:15 AM
Modified
Jun 17, 2026, 7:54 AM
Severity
Moderate
Public date
Jan 17, 2025, 12:00 AM