SecurityContext

CVE-2020-28366: Go - Code Injection

  • Cve: CVE-2020-28366
  • Name: Go - Code Injection
  • 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.
  • Impact: Attackers can execute arbitrary code during build, potentially leading to system compromise or malicious code execution.
  • Remediation: Update to Go 1.14.12, 1.15.5, or later versions.
  • Vulnerability type: code_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.02342
  • Epss percentile: 0.84055
  • Assignee: [email protected]
  • Published at: 2020-11-18T17:15:11Z
  • Age in days: 2197
  • Modified at: 2026-06-17T03:10:20Z
  • Patch available: yes
  • References total: 5
  • Products total: 4
  • Oss: yes
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-28366
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-94Improper Control of Generation of Code

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://go.dev/cl/269658
https://go.dev/issue/42559
https://go.googlesource.com/go/+/062e0e5ce6df339dc26732438ad771f73dbf2292
https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM
https://pkg.go.dev/vuln/GO-2022-0475

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
golang:go>= 1.15, < 1.15.5; < 1.14.12/v1/products/golang/go
fedoraproject:fedora= 33, = 32/v1/products/fedoraproject/fedora
netapp:tridentall versions/v1/products/netapp/trident
netapp:cloud_insights_telegraf_agentall versions/v1/products/netapp/cloud_insights_telegraf_agent

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 1834312
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports