cve.bz

CVE-2023-45285 golang go

7.5 highEPSS 1.1%Fix available

High (7.5) in golang go. EPSS 1.1% estimated probability of exploitation activity in the next 30 days. Fixed in toolchain 1.20.12, 1.21.5.

On this page
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).

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 67th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-45285 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-45285?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-45285?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-45285 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Go toolchain cmd/gobefore 1.20.12
Go toolchain cmd/gofrom 1.21.0-0 before 1.21.5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2023-2383Gotoolchain<1.20.12
>=1.21.0-0 <1.21.5
1.20.12, 1.21.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12golang-1.19no fix listedDEBIAN-CVE-2023-45285
Ubuntu20.04:LTSgolang-1.201.20.3-1ubuntu0.1~20.04.1UBUNTU-CVE-2023-45285 USN-6574-1
Ubuntu20.04:LTSgolang-1.211.21.1-1~ubuntu20.04.2UBUNTU-CVE-2023-45285 USN-6574-1
Ubuntu22.04:LTSgolang-1.201.20.3-1ubuntu0.1~22.04.1UBUNTU-CVE-2023-45285 USN-6574-1
Ubuntu22.04:LTSgolang-1.211.21.1-1~ubuntu22.04.2UBUNTU-CVE-2023-45285 USN-6574-1
Red Hatdevtools:2023::el7go-toolset-1.19-golang, go-toolset-1.19-golang-bin, go-toolset-1.19-golang-src and 4 more0:1.19.13-5.el7_9RHSA-2024:1041
Red Hatenterprise_linux:8::appstreamdelve, delve-debuginfo, delve-debugsource0:1.20.2-1.module+el8.9.0+18926+5193682dRHSA-2024:0887
Red Hatenterprise_linux:8::appstreamgo-toolset0:1.20.12-1.module+el8.9.0+21033+5795bdf6RHSA-2024:0887
Red Hatenterprise_linux:8::appstreamgolang, golang-bin, golang-src and 3 more0:1.20.12-2.module+el8.9.0+21033+5795bdf6RHSA-2024:0887
Red Hatenterprise_linux:9::appstreamgolang, go-toolset, golang-bin and 4 more0:1.20.12-1.el9_3RHSA-2024:1131
SUSELinux Enterprise Module for Development Tools 15 SP4, Linux Enterprise Module for Development Tools 15 SP5go1.201.20.12-150000.1.35.1SUSE-SU-2023:4708-1
SUSELinux Enterprise Module for Development Tools 15 SP4, Linux Enterprise Module for Development Tools 15 SP5go1.20-openssl1.20.12.1-150000.1.17.1SUSE-SU-2023:4930-1
SUSELinux Enterprise Module for Development Tools 15 SP4, Linux Enterprise Module for Development Tools 15 SP5go1.211.21.5-150000.1.18.1SUSE-SU-2023:4709-1
SUSELinux Enterprise Module for Development Tools 15 SP4, Linux Enterprise Module for Development Tools 15 SP5go1.21-openssl1.21.5.1-150000.1.8.1SUSE-SU-2023:4931-1
openSUSELeap 15.4, Leap 15.5go1.201.20.12-150000.1.35.1SUSE-SU-2023:4708-1
openSUSELeap 15.4, Leap 15.5go1.20-openssl1.20.12.1-150000.1.17.1SUSE-SU-2023:4930-1
openSUSELeap 15.4, Leap 15.5go1.211.21.5-150000.1.18.1SUSE-SU-2023:4709-1
openSUSELeap 15.4, Leap 15.5go1.21-openssl1.21.5.1-150000.1.8.1SUSE-SU-2023:4931-1
openSUSETumbleweedgo1.201.20.12-1.1openSUSE-SU-2024:13491-1
openSUSETumbleweedgo1.211.21.5-1.1openSUSE-SU-2024:13492-1
AlmaLinux8delve1.20.2-1.module_el8.9.0+3642+43318da8ALSA-2024:0887
AlmaLinux8go-toolset1.20.12-1.module_el8.9.0+3728+f1d47c6fALSA-2024:0887
AlmaLinux8golang, golang-bin, golang-src and 3 more1.20.12-2.module_el8.9.0+3728+f1d47c6fALSA-2024:0887
AlmaLinux9golang, go-toolset, golang-bin and 4 more1.20.12-1.el9_3ALSA-2024:1131
Azure Linux2golang1.21.6-1AZL-32101 AZL-37323 AZL-37438
Azure Linux2msft-golang1.22.3-1.AZL-32103
Azure Linux3golangno fix listedAZL-79014 AZL-98985
Alpaquita23go1.21.7-r0BELL-CVE-2023-45285
Alpaquitastreamgo1.21.5-r0BELL-CVE-2023-45285
BellSoft Hardened Containers23go1.21.7-r0BELL-CVE-2023-45285
BellSoft Hardened Containersstreamgo1.21.5-r0BELL-CVE-2023-45285

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat rates this issue as Moderate, as the default configuration avoids this behavior, mitigating the vulnerability.

Red Hat's mitigation

This issue only affects users who are not using the module proxy and are fetching modules directly (i.e. GOPROXY=off). In order to mitigate this, keep GOPROXY with default values and use a module proxy. This vulnerability is not explored with default GOPROXY value.

ProductPackageStateAdvisory
Red Hat Developer Toolsgo-toolset-1.19-golang-0:1.19.13-5.el7_9Fixed 2024-02-29RHSA-2024:1041
Red Hat Enterprise Linux 8go-toolset:rhel8-8090020231213055633.26eb71acFixed 2024-02-20RHSA-2024:0887
Red Hat Enterprise Linux 9golang-0:1.20.12-1.el9_3Fixed 2024-03-05RHSA-2024:1131
Red Hat OpenShift Container Platform 4.15openshift4/cloud-network-config-controller-rhel8:v4.15.0-202402082307.p0.g81ab2a1.assembly.stream.el8Fixed 2024-02-27RHSA-2023:7198
Red Hat OpenShift Container Platform 4.15openshift4/egress-router-cni-rhel8:v4.15.0-202402082307.p0.g39ea8ee.assembly.stream.el8Fixed 2024-02-27RHSA-2023:7198
Red Hat OpenShift Container Platform 4.15openshift4/kube-metrics-server-rhel8:v4.15.0-202402082307.p0.gbcbf241.assembly.stream.el8Fixed 2024-02-27RHSA-2023:7198
Red Hat OpenShift Container Platform 4.15openshift4/kubevirt-csi-driver-rhel8:v4.15.0-202402082307.p0.gaea7be8.assembly.stream.el8Fixed 2024-02-27RHSA-2023:7198
Red Hat OpenShift Container Platform 4.15openshift4/network-tools-rhel8:v4.15.0-202402210808.p0.gbe5b7d0.assembly.stream.el8Fixed 2024-02-27RHSA-2023:7198
Red Hat OpenShift Container Platform 4.15openshift4/oc-mirror-plugin-rhel8:v4.15.0-202402082307.p0.gcae37aa.assembly.stream.el8Fixed 2024-02-27RHSA-2023:7198
Red Hat OpenShift Container Platform 4.15openshift4/openshift-route-controller-manager-rhel8:v4.15.0-202402082307.p0.gc5cc7a7.assembly.stream.el8Fixed 2024-02-27RHSA-2023:7198
Red Hat OpenShift Container Platform 4.15openshift4/ose-agent-installer-api-server-rhel8:v4.15.0-202402082307.p0.g07e76ee.assembly.stream.el8Fixed 2024-02-27RHSA-2023:7198
Red Hat OpenShift Container Platform 4.15openshift4/ose-agent-installer-csr-approver-rhel8:v4.15.0-202402151807.p0.g5305999.assembly.stream.el8Fixed 2024-02-27RHSA-2023:7198
Red Hat OpenShift Container Platform 4.15openshift4/ose-agent-installer-node-agent-rhel9:v4.15.0-202402161907.p0.gb0beda7.assembly.stream.el9Fixed 2024-02-27RHSA-2023:7198
Red Hat OpenShift Container Platform 4.15openshift4/ose-agent-installer-orchestrator-rhel8:v4.15.0-202402151807.p0.g5305999.assembly.stream.el8Fixed 2024-02-27RHSA-2023:7198
Red Hat OpenShift Container Platform 4.15openshift4/ose-agent-installer-utils-rhel9:v4.15.0-202401261531.p0.g33b7d85.assembly.streamFixed 2024-02-27RHSA-2023:7198
Red Hat OpenShift Container Platform 4.15openshift4/ose-alibaba-cloud-controller-manager-rhel9:v4.15.0-202401261531.p0.gabf4fa9.assembly.streamFixed 2024-02-27RHSA-2023:7198
OpenShift Service Mesh 2openshift-golang-builder-containerNot affected
Red Hat OpenShift Container Platform 4openshift-golang-builder-containerNot affected
Red Hat OpenShift Virtualization 4openshift-golang-builder-containerAffected
Red Hat Storage 3golangWill not fix
170 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-45285.

References

Check your stackJSON