Using go get to fetch a module with the ".git" suffix may...
High severity
Unreviewed
Published
Dec 6, 2023
to the GitHub Advisory Database
•
Updated Jan 20, 2024
Description
Published by the National Vulnerability Database
Dec 6, 2023
Published to the GitHub Advisory Database
Dec 6, 2023
Last updated
Jan 20, 2024
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).
References