🛡️ CVE-2024-45340 — golang
Description
GOAUTH credential leak in cmd/go
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.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.
Affected software
CVE-2024-45340 is recorded against 3 packages.
- golang
- toolchain
- unknown
Timeline and source
Published on 30 January 2025 and last revised on 6 February 2025. No public exploit is currently recorded for this entry. Record sourced from NVD.
References
go.dev (Web)
go.dev (Web)
groups.google.com (Web)
pkg.go.dev (Web)
CVE-2024-45340 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| golang | — | — |
| toolchain | — | — |
| unknown | — | — |
References
Similar Threats
- Unknown ALSA-2024:2562
- Unknown ALSA-2024:1963
- Unknown ALSA-2024:1962
- Unknown ALSA-2024:1462
- Unknown ALSA-2024:1472
More CVE 2024 advisories
Browse all of CVE 2024 in the advisory index.
Site Security Check
Is golang part of your stack?
CVE-2024-45340 is rated CVSS 8.8 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.