Security mailing lists by PureSourceCode

CVE-2020-28366

HIGH 7.5CVSS 3.1

Arbitrary code execution in go command with cgo in cmd/go and cmd/cgo

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.

Published
18 Nov 2020
Last modified
17 Jun 2026
Assigned by
security@golang.org
NVD status
Modified
Weakness
CWE-94
Also known as
BIT-golang-2020-28366GO-2022-0475
Sources
NVDJSONOSV GO-2022-0475JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.1 AV:N/AC:H/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD golang go
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
< 1.14.12 1.14.12
NVD golang go
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
>= 1.15, < 1.15.5 1.15.5
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
= 32
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
= 33
NVD netapp cloud_insights_telegraf_agent
cpe:2.3:a:netapp:cloud_insights_telegraf_agent:-:*:*:*:*:*:*:*
(no version)
NVD netapp trident
cpe:2.3:a:netapp:trident:-:*:*:*:*:*:*:*
(no version)
OSV Go toolchain < 1.14.12; >= 1.15.0-0, < 1.15.5 1.14.12, 1.15.5

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 18 Nov 2020)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Jul 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.