Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 2253323 (CVE-2023-45285) - CVE-2023-45285 golang: cmd/go: Protocol Fallback when fetching modules
Summary: CVE-2023-45285 golang: cmd/go: Protocol Fallback when fetching modules
Keywords:
Status: NEW
Alias: CVE-2023-45285
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2253324 2253325 2253326 2253327 2253347
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-12-06 20:25 UTC by Patrick Del Bello
Modified: 2024-03-16 21:12 UTC (History)
18 users (show)

Fixed In Version: golang 1.20.12, golang 1.21.0-0, golang 1.21.5
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:7198 0 None None None 2024-02-27 20:49:55 UTC
Red Hat Product Errata RHSA-2024:0887 0 None None None 2024-02-20 12:30:06 UTC
Red Hat Product Errata RHSA-2024:1041 0 None None None 2024-02-29 09:03:56 UTC
Red Hat Product Errata RHSA-2024:1131 0 None None None 2024-03-05 18:11:13 UTC

Description Patrick Del Bello 2023-12-06 20:25:43 UTC
Using go get to fetch a module with the ".git" suffix may unexpectedly fallback to the insecure "git://" protocol if the module is unavailable via the secure "https://" and "git+ssh://" protocols, even if GOINSECURE is not set for said module. This only affects users who are not using the module proxy and are fetching modules directly (i.e. GOPROXY=off).

https://go.dev/cl/540257
https://go.dev/issue/63845
https://groups.google.com/g/golang-dev/c/6ypN5EjibjM/m/KmLVYH_uAgAJ
https://pkg.go.dev/vuln/GO-2023-2383

Comment 1 Patrick Del Bello 2023-12-06 20:26:08 UTC
Created golang tracking bugs for this issue:

Affects: epel-all [bug 2253324]
Affects: fedora-all [bug 2253325]

Comment 3 errata-xmlrpc 2024-02-20 12:30:05 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:0887 https://access.redhat.com/errata/RHSA-2024:0887

Comment 4 errata-xmlrpc 2024-02-27 20:49:53 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.15

Via RHSA-2023:7198 https://access.redhat.com/errata/RHSA-2023:7198

Comment 7 errata-xmlrpc 2024-02-29 09:03:54 UTC
This issue has been addressed in the following products:

  Red Hat Developer Tools

Via RHSA-2024:1041 https://access.redhat.com/errata/RHSA-2024:1041

Comment 8 errata-xmlrpc 2024-03-05 18:11:11 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:1131 https://access.redhat.com/errata/RHSA-2024:1131


Note You need to log in before you can comment on or make changes to this bug.