What’s Vulnerable › Vulnerabilities

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

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Go 1.24.0-rc.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-45340 or the next vulnerability affects your stack