CVE-2024-45340

published 28 Jan 2025 · updated 30 Jan 2025

GOAUTH credential leak in cmd/go

8.8HighCVSS 8.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 1.24.0-rc.2.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Go toolchain>=1.24.0-0 <1.24.0-rc.21.24.0-rc.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-45340 severity on Zeptric[![CVE-2024-45340](https://zeptric.io/badge/cve/CVE-2024-45340.svg)](https://zeptric.io/cve/CVE-2024-45340)