CVE-2023-45285
Command 'go get' may unexpectedly fallback to insecure git in cmd/go
7.5
HIGH
CVSS 3.1
EPSS 0.06%
Description
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).
How to fix CVE-2023-45285
To remediate CVE-2023-45285, upgrade the affected package to a fixed version below.
- —upgrade to 1.20.12 or later
- —no fix listed
- —no fix listed
- —upgrade to 1.20.12 or later
Is CVE-2023-45285 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 1.20.12, >= 1.21.0-0, < 1.21.5
- from 0
- from 0
- from 0, < 1.20.12, >= 1.21.0-0, < 1.21.5
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |