Advisory

GO-2025-3383

Also known as: BIT-golang-2024-45340, CVE-2024-45340

Summary

GOAUTH credential leak in cmd/go

Details

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.

Severity

Not rated by the source.

Dates

Published
2025-01-28 00:47 UTC
Modified
2025-01-30 20:12 UTC

Affected packages and fixes

toolchain

Go · All systems

Affected

  • introduced 1.24.0-0, fixed 1.24.0-rc.2 (semver)

Fixed versions

1.24.0-rc.2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences