CVE-2023-45285
High
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).
SeverityHigh
CVSS7.5
Exploit probability67. percentile1.1%
ProductGo
PublishedDec 6, 2023
First seenDec 6, 2023
Weakness typeCWE-636CWE-636
How to fix
Update
- golang go1.20.12, 1.21.5 or later
- toolchain1.20.12, 1.21.5 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| golang go | v < 1.20.12, 1.21.0-0 ≤ v < 1.21.5 | 1.20.12, 1.21.5 |
| toolchainGo | v < 1.20.12, 1.21.0-0 ≤ v < 1.21.5 | 1.20.12, 1.21.5 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.