CVE-2023-45285

HIGHCVSS 7.5/10EPSS 1.14%

Last modified

CVE-2023-45285 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 1.14% chance of exploitation in the next 30 days.

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

Metrics

CVSS 3.1
7.5/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

EPSS Probability
1.14%

62.5th percentile

Probability of exploitation in the next 30 days. Learn more

Affected Software

VendorProductVersions
GolangGo< 1.20.12
GolangGo>= 1.21.0-0, < 1.21.5

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2023-45285?
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).
How severe is CVE-2023-45285?
CVE-2023-45285 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 1.14% probability of exploitation in the next 30 days.
How do I fix CVE-2023-45285?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2023-45285?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST