PT-2024-2133 · Unknown+12 · Httpclient+12

Juho Nurminen

·

Published

2024-03-05

·

Updated

2025-09-04

·

CVE-2023-45289

CVSS v3.1

4.3

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions golang versions (affected versions not specified) http.Client (affected versions not specified)
Description The issue is related to how an http.Client handles HTTP redirects. When an HTTP redirect is made to a domain that is not a subdomain match or exact match of the initial domain, sensitive headers such as Authorization or Cookie are not forwarded. However, a maliciously crafted HTTP redirect could cause these sensitive headers to be unexpectedly forwarded. For example, a redirect from foo.com to www.foo.com will forward the Authorization header, but a redirect to bar.com will not.
Recommendations For golang, at the moment, there is no information about a newer version that contains a fix for this vulnerability. For http.Client, consider restricting the forwarding of sensitive headers to only trusted domains to minimize the risk of exploitation. As a temporary workaround, consider disabling the automatic forwarding of sensitive headers until a patch is available.

Information Disclosure

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2024:2562
ALSA-2024:2724
ALSA-2024:3259
ALSA-2024:3346
ALT-PU-2024-11781
ALT-PU-2024-11872
ALT-PU-2024-13971
ALT-PU-2024-3504
ALT-PU-2024-3506
ALT-PU-2024-4847
AZL-37462
AZL-37473
AZL-78974
BDU:2024-02034
BIT-GOLANG-2023-45289
CESA-2024_3259
CESA-2024_3346
CVE-2023-45289
GHSA-32CH-6X54-Q4H9
GO-2024-2600
INFSA-2024_2562
INFSA-2024_2724
INFSA-2024_3259
INFSA-2024_3346
OESA-2024-1306
OPENSUSE-SU-2024:13752-1
OPENSUSE-SU-2024:13756-1
OPENSUSE-SU-2024_0812-1
OPENSUSE-SU-2024_3089-1
OPENSUSE-SU-2024_3755-1
RHSA-2024:0045
RHSA-2024:2562
RHSA-2024:2724
RHSA-2024:3259
RHSA-2024:3346
RHSA-2024:4023
RHSA-2024_2562
RHSA-2024_2724
RHSA-2024_3259
RHSA-2024_3346
RLSA-2024:2562
RLSA-2024:2724
RLSA-2024:3259
RLSA-2024:3346
SUSE-SU-2024:0800-1
SUSE-SU-2024:0811-1
SUSE-SU-2024:0812-1
SUSE-SU-2024:0936-1
SUSE-SU-2024:3089-1
SUSE-SU-2024:3755-1
SUSE-SU-2024:3772-1
SUSE-SU-2024:3938-1
SUSE-SU-2024_0800-1
SUSE-SU-2024_0811-1
SUSE-SU-2024_0812-1
SUSE-SU-2024_0936-1
USN-6886-1

Affected Products

Alt Linux
Almalinux
Astra Linux
Centos
Debian
Linuxmint
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu
Golang
Httpclient