CVE-2020-28366
publishedArbitrary code execution in go command with cgo in cmd/go and cmd/cgo
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Go toolchain | — | cmd/go0 to < 1.14.12 · 1.15.0-0 to < 1.15.5 · Other versions: unaffected | Affected | Not stated | Go |
| Go toolchain | — | cmd/cgo0 to < 1.14.12 · 1.15.0-0 to < 1.15.5 · Other versions: unaffected | Affected | Not stated | Go |
| Amazon Linux | AL2 | Release evaluationALAS2-2021-1578 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | go | Fixed | 1.15.5-r0 | Package fix record |
| Oracle Linux | 8 | delvex86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.4.1-1.0.1.module+el8.3.0+7887+1b2c3dab | ELSA-2020-5493 |
| Red Hat Enterprise Linux | RHEL-8 | delvesrc | Advisory build | 1.4.1-1.module+el8.3.0+7840+63dfb1ed | RHSA-2020:5493 |
| SUSE / openSUSE | SLE-15-SP1 | go1.14aarch64 | Advisory build | 1.14.12-1.26.1 | SUSE-SU-2020:3369-1 |
| Alpine Linux | v3.13 | go | Fixed | 1.15.5-r0 | Package fix record |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.14 | go | Fixed | 1.15.5-r0 | Package fix record |
| Alpine Linux | v3.15 | go | Fixed | 1.15.5-r0 | Package fix record |
| Alpine Linux | v3.16 | go | Fixed | 1.15.5-r0 | Package fix record |
| Alpine Linux | v3.17 | go | Fixed | 1.15.5-r0 | Package fix record |
| Alpine Linux | v3.18 | go | Fixed | 1.15.5-r0 | Package fix record |
| Alpine Linux | v3.19 | go | Fixed | 1.15.5-r0 | Package fix record |
| Alpine Linux | v3.20 | go | Fixed | 1.15.5-r0 | Package fix record |
| Alpine Linux | v3.21 | go | Fixed | 1.15.5-r0 | Package fix record |
| Alpine Linux | v3.22 | go | Fixed | 1.15.5-r0 | Package fix record |
| Alpine Linux | v3.23 | go | Fixed | 1.15.5-r0 | Package fix record |
| Alpine Linux | v3.24 | go | Fixed | 1.15.5-r0 | Package fix record |
| Oracle Linux | 8 | go-toolsetaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.14.12-1.module+el8.3.0+7887+1b2c3dab | ELSA-2020-5493 |
| Oracle Linux | 8 | go-toolsetx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.14.12-1.module+el8.3.0+7887+1b2c3dab | ELSA-2020-5493 |
| Oracle Linux | 8 | golangaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.14.12-1.module+el8.3.0+7887+1b2c3dab | ELSA-2020-5493 |
| Oracle Linux | 8 | golangx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.14.12-1.module+el8.3.0+7887+1b2c3dab | ELSA-2020-5493 |
| Oracle Linux | 8 | golang-binaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.14.12-1.module+el8.3.0+7887+1b2c3dab | ELSA-2020-5493 |
| Oracle Linux | 8 | golang-binx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.14.12-1.module+el8.3.0+7887+1b2c3dab | ELSA-2020-5493 |
| Oracle Linux | 8 | golang-docsaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.14.12-1.module+el8.3.0+7887+1b2c3dab | ELSA-2020-5493 |
| Oracle Linux | 8 | golang-docsx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.14.12-1.module+el8.3.0+7887+1b2c3dab | ELSA-2020-5493 |
| Oracle Linux | 8 | golang-miscaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.14.12-1.module+el8.3.0+7887+1b2c3dab | ELSA-2020-5493 |
| Oracle Linux | 8 | golang-miscx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.14.12-1.module+el8.3.0+7887+1b2c3dab | ELSA-2020-5493 |
| Oracle Linux | 8 | golang-racex86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.14.12-1.module+el8.3.0+7887+1b2c3dab | ELSA-2020-5493 |
| Oracle Linux | 8 | golang-srcaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.14.12-1.module+el8.3.0+7887+1b2c3dab | ELSA-2020-5493 |
| Oracle Linux | 8 | golang-srcx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.14.12-1.module+el8.3.0+7887+1b2c3dab | ELSA-2020-5493 |
| Oracle Linux | 8 | golang-testsaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.14.12-1.module+el8.3.0+7887+1b2c3dab | ELSA-2020-5493 |
| Oracle Linux | 8 | golang-testsx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.14.12-1.module+el8.3.0+7887+1b2c3dab | ELSA-2020-5493 |
| Red Hat Enterprise Linux | RHEL-8 | delvex86_64 | Advisory build | 1.4.1-1.module+el8.3.0+7840+63dfb1ed | RHSA-2020:5493 |
| Red Hat Enterprise Linux | RHEL-8 | delve-debuginfox86_64 | Advisory build | 1.4.1-1.module+el8.3.0+7840+63dfb1ed | RHSA-2020:5493 |
| Red Hat Enterprise Linux | RHEL-8 | delve-debugsourcex86_64 | Advisory build | 1.4.1-1.module+el8.3.0+7840+63dfb1ed | RHSA-2020:5493 |
| Red Hat Enterprise Linux | RHEL-8 | go-toolsetaarch64 | Advisory build | 1.14.12-1.module+el8.3.0+8784+380394dc | RHSA-2020:5493 |
| Red Hat Enterprise Linux | RHEL-8 | go-toolsetppc64le | Advisory build | 1.14.12-1.module+el8.3.0+8784+380394dc | RHSA-2020:5493 |
| Red Hat Enterprise Linux | RHEL-8 | go-toolsets390x | Advisory build | 1.14.12-1.module+el8.3.0+8784+380394dc | RHSA-2020:5493 |
| Red Hat Enterprise Linux | RHEL-8 | go-toolsetsrc | Advisory build | 1.14.12-1.module+el8.3.0+8784+380394dc | RHSA-2020:5493 |
| Red Hat Enterprise Linux | RHEL-8 | go-toolsetx86_64 | Advisory build | 1.14.12-1.module+el8.3.0+8784+380394dc | RHSA-2020:5493 |
| Red Hat Enterprise Linux | RHEL-8 | golangaarch64 | Advisory build | 1.14.12-1.module+el8.3.0+8784+380394dc | RHSA-2020:5493 |
| Red Hat Enterprise Linux | RHEL-8 | golangppc64le | Advisory build | 1.14.12-1.module+el8.3.0+8784+380394dc | RHSA-2020:5493 |
| Red Hat Enterprise Linux | RHEL-8 | golangs390x | Advisory build | 1.14.12-1.module+el8.3.0+8784+380394dc | RHSA-2020:5493 |
| Red Hat Enterprise Linux | RHEL-8 | golangsrc | Advisory build | 1.14.12-1.module+el8.3.0+8784+380394dc | RHSA-2020:5493 |
| Red Hat Enterprise Linux | RHEL-8 | golangx86_64 | Advisory build | 1.14.12-1.module+el8.3.0+8784+380394dc | RHSA-2020:5493 |
| Red Hat Enterprise Linux | RHEL-8 | golang-binaarch64 | Advisory build | 1.14.12-1.module+el8.3.0+8784+380394dc | RHSA-2020:5493 |
| Red Hat Enterprise Linux | RHEL-8 | golang-binppc64le | Advisory build | 1.14.12-1.module+el8.3.0+8784+380394dc | RHSA-2020:5493 |
| Red Hat Enterprise Linux | RHEL-8 | golang-bins390x | Advisory build | 1.14.12-1.module+el8.3.0+8784+380394dc | RHSA-2020:5493 |
| Red Hat Enterprise Linux | RHEL-8 | golang-binx86_64 | Advisory build | 1.14.12-1.module+el8.3.0+8784+380394dc | RHSA-2020:5493 |
| Red Hat Enterprise Linux | RHEL-8 | golang-docsnoarch | Advisory build | 1.14.12-1.module+el8.3.0+8784+380394dc | RHSA-2020:5493 |
| Red Hat Enterprise Linux | RHEL-8 | golang-miscnoarch | Advisory build | 1.14.12-1.module+el8.3.0+8784+380394dc | RHSA-2020:5493 |
| Red Hat Enterprise Linux | RHEL-8 | golang-racex86_64 | Advisory build | 1.14.12-1.module+el8.3.0+8784+380394dc | RHSA-2020:5493 |
| Red Hat Enterprise Linux | RHEL-8 | golang-srcnoarch | Advisory build | 1.14.12-1.module+el8.3.0+8784+380394dc | RHSA-2020:5493 |
| Red Hat Enterprise Linux | RHEL-8 | golang-testsnoarch | Advisory build | 1.14.12-1.module+el8.3.0+8784+380394dc | RHSA-2020:5493 |
| SUSE / openSUSE | SLE-15-SP1 | go1.14ppc64le | Advisory build | 1.14.12-1.26.1 | SUSE-SU-2020:3369-1 |
| SUSE / openSUSE | SLE-15-SP1 | go1.14s390x | Advisory build | 1.14.12-1.26.1 | SUSE-SU-2020:3369-1 |
| SUSE / openSUSE | SLE-15-SP1 | go1.14x86_64 | Advisory build | 1.14.12-1.26.1 | SUSE-SU-2020:3369-1 |
| SUSE / openSUSE | SLE-15-SP1 | go1.14-docaarch64 | Advisory build | 1.14.12-1.26.1 | SUSE-SU-2020:3369-1 |
| SUSE / openSUSE | SLE-15-SP1 | go1.14-docppc64le | Advisory build | 1.14.12-1.26.1 | SUSE-SU-2020:3369-1 |
| SUSE / openSUSE | SLE-15-SP1 | go1.14-docs390x | Advisory build | 1.14.12-1.26.1 | SUSE-SU-2020:3369-1 |
| SUSE / openSUSE | SLE-15-SP1 | go1.14-docx86_64 | Advisory build | 1.14.12-1.26.1 | SUSE-SU-2020:3369-1 |
| SUSE / openSUSE | SLE-15-SP1 | go1.15aarch64 | Advisory build | 1.15.5-1.11.1 | SUSE-SU-2020:3368-1 |
| SUSE / openSUSE | SLE-15-SP1 | go1.15ppc64le | Advisory build | 1.15.5-1.11.1 | SUSE-SU-2020:3368-1 |
| SUSE / openSUSE | SLE-15-SP1 | go1.15s390x | Advisory build | 1.15.5-1.11.1 | SUSE-SU-2020:3368-1 |
| SUSE / openSUSE | SLE-15-SP1 | go1.15x86_64 | Advisory build | 1.15.5-1.11.1 | SUSE-SU-2020:3368-1 |
| SUSE / openSUSE | SLE-15-SP1 | go1.15-docaarch64 | Advisory build | 1.15.5-1.11.1 | SUSE-SU-2020:3368-1 |
| SUSE / openSUSE | SLE-15-SP1 | go1.15-docppc64le | Advisory build | 1.15.5-1.11.1 | SUSE-SU-2020:3368-1 |
| SUSE / openSUSE | SLE-15-SP1 | go1.15-docs390x | Advisory build | 1.15.5-1.11.1 | SUSE-SU-2020:3368-1 |
| SUSE / openSUSE | SLE-15-SP1 | go1.15-docx86_64 | Advisory build | 1.15.5-1.11.1 | SUSE-SU-2020:3368-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.14aarch64 | Advisory build | 1.14.12-1.26.1 | SUSE-SU-2020:3369-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.14ppc64le | Advisory build | 1.14.12-1.26.1 | SUSE-SU-2020:3369-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.14s390x | Advisory build | 1.14.12-1.26.1 | SUSE-SU-2020:3369-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.14x86_64 | Advisory build | 1.14.12-1.26.1 | SUSE-SU-2020:3369-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.14-docaarch64 | Advisory build | 1.14.12-1.26.1 | SUSE-SU-2020:3369-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.14-docppc64le | Advisory build | 1.14.12-1.26.1 | SUSE-SU-2020:3369-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.14-docs390x | Advisory build | 1.14.12-1.26.1 | SUSE-SU-2020:3369-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.14-docx86_64 | Advisory build | 1.14.12-1.26.1 | SUSE-SU-2020:3369-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.15aarch64 | Advisory build | 1.15.5-1.11.1 | SUSE-SU-2020:3368-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.15ppc64le | Advisory build | 1.15.5-1.11.1 | SUSE-SU-2020:3368-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.15s390x | Advisory build | 1.15.5-1.11.1 | SUSE-SU-2020:3368-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.15x86_64 | Advisory build | 1.15.5-1.11.1 | SUSE-SU-2020:3368-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.15-docaarch64 | Advisory build | 1.15.5-1.11.1 | SUSE-SU-2020:3368-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.15-docppc64le | Advisory build | 1.15.5-1.11.1 | SUSE-SU-2020:3368-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.15-docs390x | Advisory build | 1.15.5-1.11.1 | SUSE-SU-2020:3368-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.15-docx86_64 | Advisory build | 1.15.5-1.11.1 | SUSE-SU-2020:3368-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | go1.14x86_64 | Advisory build | 1.14.12-lp151.22.1 | OPENSUSE-SU-2020:2047-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | go1.14-docx86_64 | Advisory build | 1.14.12-lp151.22.1 | OPENSUSE-SU-2020:2047-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | go1.14-racex86_64 | Advisory build | 1.14.12-lp151.22.1 | OPENSUSE-SU-2020:2047-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | go1.14x86_64 | Advisory build | 1.14.12-lp152.2.12.1 | OPENSUSE-SU-2020:2067-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | go1.14-docx86_64 | Advisory build | 1.14.12-lp152.2.12.1 | OPENSUSE-SU-2020:2067-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | go1.14-racex86_64 | Advisory build | 1.14.12-lp152.2.12.1 | OPENSUSE-SU-2020:2067-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | go1.15x86_64 | Advisory build | 1.15.5-lp152.2.1 | OPENSUSE-SU-2020:2139-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | go1.15-docx86_64 | Advisory build | 1.15.5-lp152.2.1 | OPENSUSE-SU-2020:2139-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | go1.15-racex86_64 | Advisory build | 1.15.5-lp152.2.1 | OPENSUSE-SU-2020:2139-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.14aarch64 | Advisory build | 1.14.15-1.6 | OPENSUSE-SU-2024:10807-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.14ppc64le | Advisory build | 1.14.15-1.6 | OPENSUSE-SU-2024:10807-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.14s390x | Advisory build | 1.14.15-1.6 | OPENSUSE-SU-2024:10807-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.14x86_64 | Advisory build | 1.14.15-1.6 | OPENSUSE-SU-2024:10807-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.14-docaarch64 | Advisory build | 1.14.15-1.6 | OPENSUSE-SU-2024:10807-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.14-docppc64le | Advisory build | 1.14.15-1.6 | OPENSUSE-SU-2024:10807-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.14-docs390x | Advisory build | 1.14.15-1.6 | OPENSUSE-SU-2024:10807-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
Code injection in the go command with cgo before Go 1.14.12 and Go 1.15.5 allows arbitrary code execution at build time via a malicious unquoted symbol name in a linked object file.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Go toolchain | cmd/go | 0 to < 1.14.12 (affected · semver)1.15.0-0 to < 1.15.5 (affected · semver)Default: unaffected | Go · cna |
| Go toolchain | cmd/cgo | 0 to < 1.14.12 (affected · semver)1.15.0-0 to < 1.15.5 (affected · semver)Default: unaffected | Go · cna |
Weaknesses
1- CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')
References
5Provider assertions
2Go · cna
Arbitrary code execution in go command with cgo in cmd/go and cmd/cgo
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 926f1b5a59c89948c402bfffacc9c2414bf824cb9c8d877f31f9f7485f66bf0f
- Ingested
- 23 Sep 2026, 07:50:02 UTC
- Source record
- Official CVE record