Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2020-28366

golang: malicious symbol names can lead to code execution at build time

Overview

Published
18 Nov 2020
Modified
17 Jun 2026
High CVE
1 Registry packages
75 OS packages
7 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Weakness: CWE-94

Affected packages · 1

Packages affected by CVE-2020-28366
EcosystemPackageVulnerableFixed in
Bitnami golang <1.14.12>=1.15.0, <1.15.5 1.14.121.15.5

Open a package to see all its vulnerabilities.

Operating systems · 20 fixes

Azure Linux 1 release · 1 package

fixed 1
python-tensorboard
Azure Linux fixes for CVE-2020-28366
ReleasePackageFixed in
3.0 python-tensorboard 0:2.16.2-1.azl3

Oracle Linux 1 release · 2 packages

fixed 2
go-toolset delve
Oracle Linux fixes for CVE-2020-28366
ReleasePackageFixed in
8 go-toolset +7 1.14.12-1.module+el8.3.0+7887+1b2c3dab
8 delve 1.4.1-1.0.1.module+el8.3.0+7887+1b2c3dab

Red Hat 3 releases · 5 packages

wont fix 1 eol 1 fixed 3
golang cpp go-toolset-1-14 go-toolset delve
Red Hat fixes for CVE-2020-28366
ReleasePackageFixed inAdvisory
golang +5 wont fix —
7 cpp +45 eol —
7 go-toolset-1-14 +9 0:1.14.12-1.el7_9 RHSA-2020:5333
8 (go-toolset:rhel8) go-toolset +7 0:1.14.12-1.module+el8.3.0+8784+380394dc RHSA-2020:5493
8 (go-toolset:rhel8) delve 0:1.4.1-1.module+el8.3.0+7840+63dfb1ed RHSA-2020:5493

alpine 4 releases · 1 package

fixed 4
go
alpine fixes for CVE-2020-28366
ReleasePackageFixed in
3.22 go 1.15.5-r0
3.23 go 1.15.5-r0
3.24 go 1.15.5-r0
edge go 1.15.5-r0

debian 3 releases · 3 packages

affected 2 fixed 1
golang-1-11 golang-1-15 golang-1-7
debian fixes for CVE-2020-28366
ReleasePackageFixed in
10 golang-1-11 affected
11 golang-1-15 1.15.5-1
9 golang-1-7 +1 affected

openSUSE 1 release · 2 packages

fixed 2
go1-14 go1-15
openSUSE fixes for CVE-2020-28366
ReleasePackageFixed inAdvisory
Tumbleweed go1-14 +2 1.14.15-1.6 openSUSE-SU-2024:10807-1
Tumbleweed go1-15 +2 1.15.15-1.2 openSUSE-SU-2024:10808-1

ubuntu 3 releases · 2 packages

affected 3
golang-1-10 golang-1-13
ubuntu fixes for CVE-2020-28366
ReleasePackageFixed in
18.04-ESM golang-1-10 +3 affected
20.04-ESM golang-1-13 +1 affected
22.04 golang-1-13 affected

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.