Live threats

All CVEs / Golang

CVE-2023-45285Golang Go

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.0%
probability of exploitation in 30 days · percentile 63
Auth required
No
Published
Dec 6, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Go.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go toolchain < 1.20.12 1.20.12 go get toolchain@v1.20.12
Go toolchain ≥ 1.21.0-0 < 1.21.5 1.21.5 go get toolchain@v1.21.5

Per OSV / GitHub Advisories (GO-2023-2383). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
golanggo< 1.20.12
golanggo≥ 1.21.0-0 < 1.21.5

Official sources

References

Links published by the sources. Open them with care.