UNKNOWN Go
Command 'go get' may unexpectedly fallback to insecure git in cmd/go
GO-2023-2383 · BIT-golang-2023-45285 · CVE-2023-45285
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
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).
Ready to move
Start Securing
Free, no credit card | First findings in minutes