CVE-2020-28367

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.
Code Injection
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.5 HIGH
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 81%
Affected Products (NVD)
VendorProductVersion
golanggo
𝑥
< 1.14.12
golanggo
1.15 ≤
𝑥
< 1.15.5
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
golang-1.15
bullseye
1.15.15-1~deb11u4
fixed
stretch
ignored
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
golang
bionic
dne
focal
dne
groovy
dne
hirsute
dne
impish
dne
jammy
dne
kinetic
dne
lunar
dne
mantic
dne
noble
dne
trusty
dne
xenial
dne
golang-1.10
bionic
needed
focal
dne
groovy
dne
hirsute
dne
impish
dne
jammy
dne
kinetic
dne
lunar
dne
mantic
dne
noble
dne
trusty
needs-triage
xenial
needs-triage
golang-1.13
bionic
needed
focal
needed
groovy
ignored
hirsute
ignored
impish
ignored
jammy
needed
kinetic
ignored
lunar
dne
mantic
dne
noble
dne
trusty
dne
xenial
needed
golang-1.14
bionic
dne
focal
needed
groovy
ignored
hirsute
ignored
impish
dne
jammy
dne
kinetic
dne
lunar
dne
mantic
dne
noble
dne
trusty
dne
xenial
dne
golang-1.15
bionic
dne
focal
dne
groovy
ignored
hirsute
ignored
impish
ignored
trusty
dne
xenial
dne
golang-1.6
bionic
dne
focal
dne
groovy
dne
hirsute
dne
impish
dne
jammy
dne
kinetic
dne
lunar
dne
mantic
dne
noble
dne
trusty
dne
xenial
needs-triage
golang-1.8
bionic
needs-triage
focal
dne
groovy
dne
hirsute
dne
impish
dne
jammy
dne
kinetic
dne
lunar
dne
mantic
dne
noble
dne
trusty
dne
xenial
dne
golang-1.9
bionic
needed
focal
dne
groovy
dne
hirsute
dne
impish
dne
jammy
dne
kinetic
dne
lunar
dne
mantic
dne
noble
dne
trusty
dne
xenial
dne
Amazon Linux logo
Amazon Linux Releases
Amazon Package
Release
golang
Amazon Linux 1
0:1.15.5-1.65.amzn1
fixed
Amazon Linux 2
0:1.15.5-1.amzn2.0.2
fixed
golang-bin
Amazon Linux 1
0:1.15.5-1.65.amzn1
fixed
Amazon Linux 2
0:1.15.5-1.amzn2.0.2
fixed
golang-docs
Amazon Linux 1
0:1.15.5-1.65.amzn1
fixed
Amazon Linux 2
0:1.15.5-1.amzn2.0.2
fixed
golang-misc
Amazon Linux 1
0:1.15.5-1.65.amzn1
fixed
Amazon Linux 2
0:1.15.5-1.amzn2.0.2
fixed
golang-race
Amazon Linux 1
0:1.15.5-1.65.amzn1
fixed
Amazon Linux 2
0:1.15.5-1.amzn2.0.2
fixed
golang-src
Amazon Linux 1
0:1.15.5-1.65.amzn1
fixed
Amazon Linux 2
0:1.15.5-1.amzn2.0.2
fixed
golang-tests
Amazon Linux 1
0:1.15.5-1.65.amzn1
fixed
Amazon Linux 2
0:1.15.5-1.amzn2.0.2
fixed
Azure Linux logo
Azure Linux Releases
Azure Package
Release
golang
CBL-Mariner 1.0
0:1.15.13-1.cm1
fixed
python-tensorboard
Azure Linux 3.0
0:2.16.2-2.azl3
fixed