7.5
CWE
636
Advisory Published
CVE Published
Updated

CVE-2023-45285: Command 'go get' may unexpectedly fallback to insecure git in cmd/go

First published: Wed Dec 06 2023(Updated: )

Last updated 24 July 2024

Credit: security@golang.org

Affected SoftwareAffected VersionHow to fix
debian/golang-1.15<=1.15.15-1~deb11u4
debian/golang-1.19<=1.19.8-2
redhat/golang<1.20.12
1.20.12
redhat/golang 1.21.0<0
0
redhat/golang<1.21.5
1.21.5
Ruby<1.20.12
Ruby>=1.21.0-0<1.21.5

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2023-45285?

    CVE-2023-45285 has a severity rating that indicates a moderate security risk due to potential fallback to the insecure 'git://' protocol.

  • How do I fix CVE-2023-45285?

    To fix CVE-2023-45285, upgrade to Go version 1.20.12 or later, and ensure you are not using vulnerable package versions.

  • Which versions of Go are affected by CVE-2023-45285?

    CVE-2023-45285 affects Go versions 1.15, 1.19, and versions up to 1.20.12.

  • What happens if I use a module with the '.git' suffix in Go while affected by CVE-2023-45285?

    Using a module with the '.git' suffix may cause the system to fall back to the insecure 'git://' protocol if the module is unavailable through secure protocols.

  • Is GOINSECURE relevant for CVE-2023-45285?

    Yes, GOINSECURE is not relevant for CVE-2023-45285 as it can still fallback to 'git://' regardless of this setting.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203