Skip to main content
← All vulnerabilities
CVE-2024-45340GO-2025-3383BIT-GOLANG-2024-45340

GOAUTH credential leak in cmd/go

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.24.0-rc.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • cmd/go

    From 1.24.0-0 · fixed in 1.24.0-rc.2

  • toolchainGo

    From 1.24.0-0 · fixed in 1.24.0-rc.2

References 4

go.dev

groups.google.com

pkg.go.dev