CVE-2020-28366
golang: malicious symbol names can lead to code execution at build time
Overview
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
| Ecosystem | Package | Vulnerable | Fixed 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
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | python-tensorboard | 0:2.16.2-1.azl3 |
Oracle Linux 1 release · 2 packages
fixed 2
go-toolset
delve
| Release | Package | Fixed 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed 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
| Release | Package | Fixed 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | golang-1-10 +3 | affected |
| 20.04-ESM | golang-1-13 +1 | affected |
| 22.04 | golang-1-13 | affected |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2020-28366
- go.dev https://go.dev/cl/269658
- go.dev https://go.dev/issue/42559
- go.googlesource.com https://go.googlesource.com/go/+/062e0e5ce6df339dc26732438ad771f73dbf2292
- groups.google.com https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM
- groups.google.com https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM/m/fLguyiM2CAAJ
- linux.oracle.com https://linux.oracle.com/cve/CVE-2020-28366.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2020-5493.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2020-28366
- pkg.go.dev https://pkg.go.dev/vuln/GO-2022-0475
Show all 11 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.