Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2020-28367

published

Arbitrary code execution via the go command with cgo in cmd/go

Published
18 Nov 2020, 00:00:00 UTC
Updated
04 Aug 2024, 16:33:59 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Go toolchain — cmd/go0 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
Debian buster golang-1.11 Advisory build 1.11.6-1+deb10u6 DLA-3395-1
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 94 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
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
Debian stretch golang-1.8 Advisory build 1.8.1-1+deb9u2 DLA-2460-1
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

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 malicious gcc flags specified via a #cgo directive.

en · Go · cna

Vendor advisories explicitly linked to this CVE.

27

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.

Affected vendor and product assertions
VendorProductVersion statusSource
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

Weaknesses

1
  • CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection') (Go · cna)

References

6

Provider assertions

2

Go · cna

Arbitrary code execution via the go command with cgo in cmd/go

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
cd36f6faab904152d1e6f528b58118f38b23e1a4a5c64eb3ea8183d83bbdad38
Ingested
23 Sep 2026, 07:50:02 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected