8.8High

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

Go toolchain cmd/go Published: (1 year ago)

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.

Weakness (CWE): CWE-201

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Go toolchain cmd/go 1.24.0-0 – < 1.24.0-rc.2

References and patches