Skip to content

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

HighCVSS 8.8 EPSS 0.71%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
UbuntuDebian

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.

Upgrade path

8 packages: 3 fixed, 5 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/golang-1.13(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/golang-1.18(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/golang-1.20(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/golang-1.21(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/golang-1.21(Ubuntu 24.04) All versions No fix listed No fix yet
cmd/go(Go) >= 1.24.0-0, < 1.24.0-rc.2 1.24.0-rc.2 Fixed
debian/golang-1.24(Debian 13) < 1.24~rc2-1 1.24~rc2-1 Fixed
toolchain(Go) >= 1.24.0-0, < 1.24.0-rc.2 1.24.0-rc.2 Fixed

Affected products

ProductAffected versionsFixed in
toolchain(Go) >= 1.24.0-0, < 1.24.0-rc.2 1.24.0-rc.2
debian/golang-1.24(Debian:13) < 1.24~rc2-1 1.24~rc2-1
ubuntu/golang-1.18(Ubuntu:22.04) All versions No fix listed
ubuntu/golang-1.20(Ubuntu:22.04) All versions No fix listed
ubuntu/golang-1.21(Ubuntu:22.04) All versions No fix listed
ubuntu/golang-1.13(Ubuntu:22.04) All versions No fix listed
cmd/go(Go) >= 1.24.0-0, < 1.24.0-rc.2 1.24.0-rc.2
ubuntu/golang-1.21(Ubuntu:24.04) All versions No fix listed

References