Bug 1221000 (CVE-2023-45289) - VUL-0: CVE-2023-45289 go1.21,go1.22: net/http, net/http/cookiejar: incorrect forwarding of sensitive headers and cookies on HTTP redirect
Summary: VUL-0: CVE-2023-45289 go1.21,go1.22: net/http, net/http/cookiejar: incorrect ...
Status: RESOLVED FIXED
Alias: CVE-2023-45289
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/396423/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-45289:7.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-06 01:48 UTC by Jeff Kowalczyk
Modified: 2024-05-16 12:17 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Kowalczyk 2024-03-06 01:48:57 UTC
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.

Thanks to Juho Nurminen of Mattermost for reporting this issue.

This is CVE-2023-45289 and Go issue https://go.dev/issue/65065.
Comment 2 OBSbugzilla Bot 2024-03-06 05:35:07 UTC
This is an autogenerated message for OBS integration:
This bug (1221000) was mentioned in
https://build.opensuse.org/request/show/1155402 Factory / go1.21
https://build.opensuse.org/request/show/1155403 Factory / go1.22
Comment 3 Maintenance Automation 2024-03-07 12:30:17 UTC
SUSE-SU-2024:0800-1: An update that solves five vulnerabilities and has two security fixes can now be installed.

Category: security (important)
Bug References: 1212475, 1219988, 1220999, 1221000, 1221001, 1221002, 1221003
CVE References: CVE-2023-45289, CVE-2023-45290, CVE-2024-24783, CVE-2024-24784, CVE-2024-24785
Sources used:
SUSE Linux Enterprise Software Development Kit 12 SP5 (src): go1.21-1.21.8-1.27.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 4 Maintenance Automation 2024-03-08 08:30:03 UTC
SUSE-SU-2024:0812-1: An update that solves five vulnerabilities and has two security fixes can now be installed.

Category: security (important)
Bug References: 1218424, 1219988, 1220999, 1221000, 1221001, 1221002, 1221003
CVE References: CVE-2023-45289, CVE-2023-45290, CVE-2024-24783, CVE-2024-24784, CVE-2024-24785
Sources used:
openSUSE Leap 15.5 (src): go1.22-1.22.1-150000.1.9.1
Development Tools Module 15-SP5 (src): go1.22-1.22.1-150000.1.9.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 5 Maintenance Automation 2024-03-08 08:30:08 UTC
SUSE-SU-2024:0811-1: An update that solves five vulnerabilities and has two security fixes can now be installed.

Category: security (important)
Bug References: 1212475, 1219988, 1220999, 1221000, 1221001, 1221002, 1221003
CVE References: CVE-2023-45289, CVE-2023-45290, CVE-2024-24783, CVE-2024-24784, CVE-2024-24785
Sources used:
openSUSE Leap 15.5 (src): go1.21-1.21.8-150000.1.27.1
Development Tools Module 15-SP5 (src): go1.21-1.21.8-150000.1.27.1
SUSE Linux Enterprise High Performance Computing ESPOS 15 SP4 (src): go1.21-1.21.8-150000.1.27.1
SUSE Linux Enterprise High Performance Computing LTSS 15 SP4 (src): go1.21-1.21.8-150000.1.27.1
SUSE Linux Enterprise Desktop 15 SP4 LTSS 15-SP4 (src): go1.21-1.21.8-150000.1.27.1
SUSE Linux Enterprise Server 15 SP4 LTSS 15-SP4 (src): go1.21-1.21.8-150000.1.27.1
SUSE Linux Enterprise Server for SAP Applications 15 SP4 (src): go1.21-1.21.8-150000.1.27.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 6 Maintenance Automation 2024-03-22 12:31:40 UTC
SUSE-SU-2024:0936-1: An update that solves five vulnerabilities and has two security fixes can now be installed.

Category: security (important)
Bug References: 1218424, 1219988, 1220999, 1221000, 1221001, 1221002, 1221003
CVE References: CVE-2023-45289, CVE-2023-45290, CVE-2024-24783, CVE-2024-24784, CVE-2024-24785
Maintenance Incident: [SUSE:Maintenance:32983](https://smelt.suse.de/incident/32983/)
Sources used:
SUSE Linux Enterprise Software Development Kit 12 SP5 (src):
 go1.22-1.22.1-1.3.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 8 Marcus Meissner 2024-05-16 12:17:51 UTC
released