CVE-2024-45340Go toolchain cmd/go
High 8.8
Follow: this CVE · Go toolchain · Go toolchain cmd/go We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 1.1% probability of exploitation in 30 days · percentile 66
- Auth required
- Yes
- Published
- Jan 28, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for cmd/go.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | toolchain |
≥ 1.24.0-0 < 1.24.0-rc.2 |
1.24.0-rc.2 |
go get toolchain@v1.24.0-rc.2 |
Per OSV / GitHub Advisories (GO-2025-3383). Check the version in your lockfile before upgrading.
Affected products
- Go toolchain · cmd/go
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.