Patchwire CVEs, their patch status, and feeds to follow them

CVE-2023-29405

Fixed in a distro release EPSS 2%CVSS 9.8

The go command may execute arbitrary code at build time when using cgo. This may occur when running "go get" on a malicious module, or when running any other command which builds untrusted code. This is can by triggered by linker flags, specified via a "#cgo LDFLAGS" directive. Flags containing embedded spaces are mishandled, allowing disallowed flags to be smuggled through the LDFLAGS sanitization by including them in the argument of another flag. This only affects usage of the gccgo compiler.

Published 2023-06-08 · CVE record · OSV

Products: Go toolchain cmd/go, Go toolchain cmd/cgo

Fixed upstream

EcosystemPackageFixed in
Gotoolchain1.19.10
Gotoolchain1.20.5

Distro releases

ReleasePackageFixed in
AlmaLinux 8delve1.9.1-1.module_el8.8.0+3471+a62632a0
AlmaLinux 8go-toolset1.19.10-1.module_el8.8.0+3571+89db2ae0
AlmaLinux 8golang1.19.10-1.module_el8.8.0+3571+89db2ae0
AlmaLinux 8golang-bin1.19.10-1.module_el8.8.0+3571+89db2ae0
AlmaLinux 8golang-docs1.19.10-1.module_el8.8.0+3571+89db2ae0
AlmaLinux 8golang-misc1.19.10-1.module_el8.8.0+3571+89db2ae0
AlmaLinux 8golang-race1.19.10-1.module_el8.8.0+3571+89db2ae0
AlmaLinux 8golang-src1.19.10-1.module_el8.8.0+3571+89db2ae0
AlmaLinux 8golang-tests1.19.10-1.module_el8.8.0+3571+89db2ae0
AlmaLinux 9go-toolset1.19.10-1.el9_2
AlmaLinux 9golang1.19.10-1.el9_2
AlmaLinux 9golang-bin1.19.10-1.el9_2
AlmaLinux 9golang-docs1.19.10-1.el9_2
AlmaLinux 9golang-misc1.19.10-1.el9_2
AlmaLinux 9golang-race1.19.10-1.el9_2
AlmaLinux 9golang-src1.19.10-1.el9_2
AlmaLinux 9golang-tests1.19.10-1.el9_2
Amazon Linux 2golang1.20.5-1.amzn2.0.2
Amazon Linux 2golang-bin1.20.5-1.amzn2.0.2
Amazon Linux 2golang-docs1.20.5-1.amzn2.0.2
Amazon Linux 2golang-misc1.20.5-1.amzn2.0.2
Amazon Linux 2golang-shared1.20.5-1.amzn2.0.2
Amazon Linux 2golang-src1.20.5-1.amzn2.0.2
Amazon Linux 2golang-tests1.20.5-1.amzn2.0.2
Amazon Linux 2023golang1.20.5-1.amzn2023.0.2
Amazon Linux 2023golang-bin1.20.5-1.amzn2023.0.2
Amazon Linux 2023golang-docs1.20.5-1.amzn2023.0.2
Amazon Linux 2023golang-misc1.20.5-1.amzn2023.0.2
Amazon Linux 2023golang-shared1.20.5-1.amzn2023.0.2
Amazon Linux 2023golang-src1.20.5-1.amzn2023.0.2
Amazon Linux 2023golang-tests1.20.5-1.amzn2023.0.2
Chainguardkatib-earlystopping0.19.0-r31
Chainguardkatib-suggestion-goptuna-compatno fix
Chainguardkatib-suggestion-hyperband0.19.0-r31
Chainguardkatib-suggestion-hyperopt0.19.0-r40
Chainguardkatib-suggestion-hyperopt0.19.0-r31
Chainguardkatib-suggestion-nas-darts0.19.0-r31
Chainguardkatib-suggestion-nas-enas0.19.0-r31
Chainguardkatib-suggestion-optuna-enas0.19.0-r31
Chainguardkatib-suggestion-pbt-enas0.19.0-r31
Chainguardkatib-suggestion-skopt-enas0.19.0-r31
Chainguardkatib-tfevent-metricscollector0.19.0-r31
Chainguardkind0.21.0-r0
Chainguardpolicy-controller0.7.0-r4
Debian 12golang-1.19no fix
Red Hat devtools 2023go-toolset-1.190:1.19.10-1.el7_9
Red Hat devtools 2023go-toolset-1.19-build0:1.19.10-1.el7_9
Red Hat devtools 2023go-toolset-1.19-golang0:1.19.10-1.el7_9
Red Hat devtools 2023go-toolset-1.19-golang-bin0:1.19.10-1.el7_9
Red Hat devtools 2023go-toolset-1.19-golang-docs0:1.19.10-1.el7_9
Red Hat devtools 2023go-toolset-1.19-golang-misc0:1.19.10-1.el7_9
Red Hat devtools 2023go-toolset-1.19-golang-race0:1.19.10-1.el7_9
Red Hat devtools 2023go-toolset-1.19-golang-src0:1.19.10-1.el7_9
Red Hat devtools 2023go-toolset-1.19-golang-tests0:1.19.10-1.el7_9
Red Hat devtools 2023go-toolset-1.19-runtime0:1.19.10-1.el7_9
Red Hat devtools 2023go-toolset-1.19-scldevel0:1.19.10-1.el7_9
Red Hat Enterprise Linux 8delve0:1.9.1-1.module+el8.8.0+16778+5fbb74f5
Red Hat Enterprise Linux 8delve-debuginfo0:1.9.1-1.module+el8.8.0+16778+5fbb74f5
Red Hat Enterprise Linux 8delve-debugsource0:1.9.1-1.module+el8.8.0+16778+5fbb74f5
Red Hat Enterprise Linux 8go-toolset0:1.19.10-1.module+el8.8.0+19203+782922b7
Red Hat Enterprise Linux 8golang0:1.19.10-1.module+el8.8.0+19203+782922b7
Red Hat Enterprise Linux 8golang-bin0:1.19.10-1.module+el8.8.0+19203+782922b7
Red Hat Enterprise Linux 8golang-docs0:1.19.10-1.module+el8.8.0+19203+782922b7
Red Hat Enterprise Linux 8golang-misc0:1.19.10-1.module+el8.8.0+19203+782922b7
Red Hat Enterprise Linux 8golang-race0:1.19.10-1.module+el8.8.0+19203+782922b7
Red Hat Enterprise Linux 8golang-src0:1.19.10-1.module+el8.8.0+19203+782922b7
Red Hat Enterprise Linux 8golang-tests0:1.19.10-1.module+el8.8.0+19203+782922b7
Red Hat Enterprise Linux 9go-toolset0:1.19.10-1.el9_2
Red Hat Enterprise Linux 9golang0:1.19.10-1.el9_2
Red Hat Enterprise Linux 9golang-bin0:1.19.10-1.el9_2
Red Hat Enterprise Linux 9golang-docs0:1.19.10-1.el9_2
Red Hat Enterprise Linux 9golang-misc0:1.19.10-1.el9_2
Red Hat Enterprise Linux 9golang-race0:1.19.10-1.el9_2
Red Hat Enterprise Linux 9golang-src0:1.19.10-1.el9_2
Red Hat Enterprise Linux 9golang-tests0:1.19.10-1.el9_2
Rocky Linux 9go-toolset0:1.19.10-1.el9_2
Rocky Linux 9golang0:1.19.10-1.el9_2
SUSE Linux Enterprise Module for Development Tools 15 SP4go1.191.19.10-150000.1.34.1
SUSE Linux Enterprise Module for Development Tools 15 SP4go1.201.20.5-150000.1.14.1
SUSE Linux Enterprise Module for Development Tools 15 SP5go1.191.19.10-150000.1.34.1
SUSE Linux Enterprise Module for Development Tools 15 SP5go1.201.20.5-150000.1.14.1
SUSE Linux Enterprise Real Time 15 SP3go1.191.19.10-150000.1.34.1
SUSE Linux Enterprise Real Time 15 SP3go1.201.20.5-150000.1.14.1
Ubuntu 14.04 LTSgolang-1.10no fix
Ubuntu 16.04 LTSgolang-1.10no fix
Ubuntu 16.04 LTSgolang-1.6no fix
Ubuntu 18.04 LTSgolang-1.10no fix
Ubuntu 18.04 LTSgolang-1.8no fix
Ubuntu 18.04 LTSgolang-1.9no fix
Ubuntu 20.04 LTSgolang-1.13no fix
Ubuntu 20.04 LTSgolang-1.14no fix
Ubuntu 20.04 LTSgolang-1.181.18.1-1ubuntu1~20.04.3
Ubuntu 20.04 LTSgolang-1.20no fix
Ubuntu 22.04 LTSgolang-1.171.17.13-3ubuntu1.2
Ubuntu 22.04 LTSgolang-1.181.18.1-1ubuntu1.2
Ubuntu 22.04 LTSgolang-1.20no fix
Ubuntu Pro 16.04 LTSgolang-1.13no fix
Ubuntu Pro 16.04 LTSgolang-1.181.18.1-1ubuntu1~16.04.6+esm1
Ubuntu Pro 18.04 LTSgolang-1.13no fix
Ubuntu Pro 18.04 LTSgolang-1.16no fix
Ubuntu Pro 18.04 LTSgolang-1.181.18.1-1ubuntu1~18.04.4+esm1
Ubuntu Pro 20.04 LTSgolang-1.16no fix
Ubuntu Pro 22.04 LTSgolang-1.13no fix
Wolfikatib-earlystopping0.19.0-r31
Wolfikatib-suggestion-goptuna-compatno fix
Wolfikatib-suggestion-hyperband0.19.0-r31
Wolfikatib-suggestion-hyperopt0.19.0-r40
Wolfikatib-suggestion-hyperopt0.19.0-r31
Wolfikatib-suggestion-nas-darts0.19.0-r31
Wolfikatib-suggestion-nas-enas0.19.0-r31
Wolfikatib-suggestion-optuna-enas0.19.0-r31
Wolfikatib-suggestion-pbt-enas0.19.0-r31
Wolfikatib-suggestion-skopt-enas0.19.0-r31
Wolfikatib-tfevent-metricscollector0.19.0-r31
Wolfikind0.21.0-r0
Wolfipolicy-controller0.7.0-r4
openSUSE Leap 15.4go1.191.19.10-150000.1.34.1
openSUSE Leap 15.4go1.201.20.5-150000.1.14.1
openSUSE Leap 15.5go1.191.19.10-150000.1.34.1
openSUSE Leap 15.5go1.201.20.5-150000.1.14.1
openSUSE Tumbleweedgo1.191.19.10-1.1
openSUSE Tumbleweedgo1.201.20.5-1.1