Уязвимость использования небезопасного протокола "git://" при получении модулей с суффиксом ".git" в Go
Описание
Использование команды go get
для получения модуля с суффиксом ".git" может неожиданно переключиться на небезопасный протокол "git://", если модуль недоступен через безопасные протоколы "https://" и "git+ssh://", даже если для данного модуля не установлен параметр GOINSECURE
. Эта проблема влияет только на пользователей, которые не используют прокси-сервер модулей и получают модули напрямую (т.е. при настройке GOPROXY=off
).
Тип уязвимости
Небезопасная передача данных
Ссылки
- Patch
- Issue TrackingVendor Advisory
- Mailing ListVendor Advisory
- PatchVendor Advisory
- Patch
- Issue TrackingVendor Advisory
- Mailing ListVendor Advisory
- PatchVendor Advisory
Уязвимые конфигурации
Одно из
EPSS
7.5 High
CVSS3
Дефекты
Связанные уязвимости
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).
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).
Using go get to fetch a module with the ".git" suffix may unexpectedly ...
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).
Уязвимость компонента cmd-go языка программирования Go, позволяющая нарушителю получить несанкционированный доступ к защищаемой информации
EPSS
7.5 High
CVSS3