CVEvulnerability

CVE-2023-45285

7.5 HIGH Published 2023-12-06 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2023-12-06
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

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).

Affected configurations

• golang go (< 1.20.12) • golang go (>= 1.21.0-0 < 1.21.5)

References