8.8
CWE
201
Advisory Published
Updated

CVE-2024-45340: GOAUTH credential leak in cmd/go

First published: Tue Jan 28 2025(Updated: )

Credentials provided via the new GOAUTH feature were not being properly segmented by domain, allowing a malicious server to request credentials they should not have access to. By default, unless otherwise set, this only affected credentials stored in the users .netrc file.

Credit: security@golang.org

Affected SoftwareAffected VersionHow to fix
Go (Golang) language by Google

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-2024-45340?

    CVE-2024-45340 has been assessed as a moderate severity vulnerability due to the risk of credential exposure.

  • How do I fix CVE-2024-45340?

    To mitigate CVE-2024-45340, ensure proper domain segmentation for credentials in the Goauth feature and review your .netrc file configurations.

  • What are the potential impacts of CVE-2024-45340?

    CVE-2024-45340 could allow a malicious server to access sensitive credentials, leading to unauthorized access and potential data breaches.

  • Which versions of Go are affected by CVE-2024-45340?

    CVE-2024-45340 affects the Go programming language without specific version limitations mentioned in the vulnerability report.

  • Is CVE-2024-45340 specific to any particular operating system?

    CVE-2024-45340 is not limited to a specific operating system, as it is related to the Go programming language's handling of credentials.

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