Skip to content
Fencer Vulns
high 8.8

CVE-2024-45340 json

GOAUTH credential leak in cmd/go

published 2025-01-28 21 mo ago modified 2026-06-17 4 mo ago also BIT-golang-2024-45340 , EUVD-2024-41741 , GO-2025-3383

cvss
8.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.7%
EPSS 0.7% chance of exploitation in 30 days, percentile 53%
public exploits
0
none known

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.

Patch / fix

  • bitnami golang 1.24.0-rc.2
  • go toolchain 1.24.0-rc.2
  • Go toolchain cmd/go 1.24.0-rc.2
  • golang-1.24 Debian 13 1.24~rc2-1

debian advisories DEBIAN-CVE-2024-45340

  • govulncheck-vulndb SLE Module for Package Hub 15 SP6, openSUSE Leap 15.6 0.0.20250207T224745-150000.1.32.1
  • govulncheck-vulndb SLE Module for Package Hub 15 SP6, openSUSE Leap 15.6 0.0.20250128T150132-150000.1.29.1
  • go1.24 SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES for SAP 15 SP3 +11 more 1.24rc2-150000.1.3.1

suse advisories SUSE-SU-2025:0429-1SUSE-SU-2025:0297-1SUSE-SU-2025:0285-1

  • govulncheck-vulndb openSUSE Tumbleweed 0.0.20250128T150132-1.1
  • go1.24 openSUSE Tumbleweed 1.24rc2-1.1

opensuse advisories openSUSE-SU-2025:14710-1openSUSE-SU-2025:14693-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-45340 updated cvss 7.5

cmd/go: golang: GOAUTH credential leak in cmd/go

  • Red Hat Trusted Artifact Signer fulcio-rhel9
    not affected: vulnerable code not present “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
21 mo ago

Exploit prediction

0.71% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
bitnami golang
>=1.24.0-0, <1.24.0-rc.2
1.24.0-rc.2
go toolchain
>=1.24.0-0, <1.24.0-rc.2
1.24.0-rc.2

Affected products

  • Go toolchain cmd/go

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.