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

CVE-2023-39323

Fixed in a distro release EPSS 2%CVSS 8.1

Line directives ("//line") can be used to bypass the restrictions on "//go:cgo_" directives, allowing blocked linker and compiler flags to be passed during compilation. This can result in unexpected execution of arbitrary code when running "go build". The line directive requires the absolute path of the file in which the directive lives, which makes exploiting this issue significantly more complex.

Published 2023-10-05 · CVE record · OSV

Products: Go toolchain cmd/go

Fixed upstream

EcosystemPackageFixed in
Gotoolchain1.20.9
Gotoolchain1.21.2

Distro releases

ReleasePackageFixed in
Amazon Linux 2golang1.20.10-1.amzn2.0.1
Amazon Linux 2golang-bin1.20.10-1.amzn2.0.1
Amazon Linux 2golang-docs1.20.10-1.amzn2.0.1
Amazon Linux 2golang-misc1.20.10-1.amzn2.0.1
Amazon Linux 2golang-shared1.20.10-1.amzn2.0.1
Amazon Linux 2golang-src1.20.10-1.amzn2.0.1
Amazon Linux 2golang-tests1.20.10-1.amzn2.0.1
Amazon Linux 2023ecs-service-connect-agentv1.27.2.0-1.amzn2023
Amazon Linux 2023golang1.20.10-1.amzn2023.0.1
Amazon Linux 2023golang-bin1.20.10-1.amzn2023.0.1
Amazon Linux 2023golang-docs1.20.10-1.amzn2023.0.1
Amazon Linux 2023golang-misc1.20.10-1.amzn2023.0.1
Amazon Linux 2023golang-shared1.20.10-1.amzn2023.0.1
Amazon Linux 2023golang-src1.20.10-1.amzn2023.0.1
Amazon Linux 2023golang-tests1.20.10-1.amzn2023.0.1
Chainguardconfigmap-reload-fips0.12.0-r2
Chainguardkatib-earlystopping0.19.0-r31
Chainguardkatib-suggestion-goptuna-compat0.19.0-r40
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
Chainguardmetrics-server0.6.4-r2
Chainguardsmarter-device-manager-fips1.20.11-r2
Debian 12golang-1.19no fix
Red Hat Enterprise Linux 8delve0:1.20.2-1.module+el8.9.0+18926+5193682d
Red Hat Enterprise Linux 8delve-debuginfo0:1.20.2-1.module+el8.9.0+18926+5193682d
Red Hat Enterprise Linux 8delve-debugsource0:1.20.2-1.module+el8.9.0+18926+5193682d
Red Hat Enterprise Linux 8go-toolset0:1.20.10-1.module+el8.9.0+20382+04f7fe80
Red Hat Enterprise Linux 8golang0:1.20.10-1.module+el8.9.0+20382+04f7fe80
Red Hat Enterprise Linux 8golang-bin0:1.20.10-1.module+el8.9.0+20382+04f7fe80
Red Hat Enterprise Linux 8golang-docs0:1.20.10-1.module+el8.9.0+20382+04f7fe80
Red Hat Enterprise Linux 8golang-misc0:1.20.10-1.module+el8.9.0+20382+04f7fe80
Red Hat Enterprise Linux 8golang-src0:1.20.10-1.module+el8.9.0+20382+04f7fe80
Red Hat Enterprise Linux 8golang-tests0:1.20.10-1.module+el8.9.0+20382+04f7fe80
SUSE Linux Enterprise Module for Development Tools 15 SP4go1.201.20.9-150000.1.26.1
SUSE Linux Enterprise Module for Development Tools 15 SP4go1.20-openssl1.20.11.1-150000.1.14.1
SUSE Linux Enterprise Module for Development Tools 15 SP4go1.211.21.2-150000.1.9.1
SUSE Linux Enterprise Module for Development Tools 15 SP4go1.21-openssl1.21.4.1-150000.1.5.1
SUSE Linux Enterprise Module for Development Tools 15 SP5go1.201.20.9-150000.1.26.1
SUSE Linux Enterprise Module for Development Tools 15 SP5go1.20-openssl1.20.11.1-150000.1.14.1
SUSE Linux Enterprise Module for Development Tools 15 SP5go1.211.21.2-150000.1.9.1
SUSE Linux Enterprise Module for Development Tools 15 SP5go1.21-openssl1.21.4.1-150000.1.5.1
SUSE Package Hub 12go1.21-41.1
SUSE Package Hub 12go1.211.21.3-2.1
Ubuntu 20.04 LTSgolang-1.181.18.1-1ubuntu1~20.04.3
Ubuntu 20.04 LTSgolang-1.201.20.3-1ubuntu0.1~20.04.1
Ubuntu 20.04 LTSgolang-1.211.21.1-1~ubuntu20.04.2
Ubuntu 22.04 LTSgolang-1.171.17.13-3ubuntu1.3
Ubuntu 22.04 LTSgolang-1.181.18.1-1ubuntu1.2
Ubuntu 22.04 LTSgolang-1.201.20.3-1ubuntu0.1~22.04.1
Ubuntu 22.04 LTSgolang-1.211.21.1-1~ubuntu22.04.2
Ubuntu Pro 16.04 LTSgolang-1.181.18.1-1ubuntu1~16.04.6+esm1
Ubuntu Pro 18.04 LTSgolang-1.181.18.1-1ubuntu1~18.04.4+esm1
Wolfikatib-earlystopping0.19.0-r31
Wolfikatib-suggestion-goptuna-compat0.19.0-r40
Wolfikatib-suggestion-hyperband0.19.0-r31
Wolfikatib-suggestion-hyperopt0.19.0-r31
Wolfikatib-suggestion-hyperopt0.19.0-r40
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
Wolfimetrics-server0.6.4-r2
openSUSE Leap 15.4go1.201.20.9-150000.1.26.1
openSUSE Leap 15.4go1.20-openssl1.20.11.1-150000.1.14.1
openSUSE Leap 15.4go1.211.21.2-150000.1.9.1
openSUSE Leap 15.4go1.21-openssl1.21.4.1-150000.1.5.1
openSUSE Leap 15.5go1.201.20.9-150000.1.26.1
openSUSE Leap 15.5go1.20-openssl1.20.11.1-150000.1.14.1
openSUSE Leap 15.5go1.211.21.2-150000.1.9.1
openSUSE Leap 15.5go1.21-openssl1.21.4.1-150000.1.5.1
openSUSE Tumbleweedgo1.201.20.9-1.1
openSUSE Tumbleweedgo1.211.21.2-1.1